FreeBSD kernel IPv4 code
sctp_asconf.h File Reference
#include <sys/cdefs.h>
Include dependency graph for sctp_asconf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _NETINET_SCTP_ASCONF_H_
 

Functions

 __FBSDID ("$FreeBSD$")
 
void sctp_asconf_cleanup (struct sctp_tcb *)
 
struct mbuf * sctp_compose_asconf (struct sctp_tcb *, int *, int)
 
void sctp_handle_asconf (struct mbuf *, unsigned int, struct sockaddr *, struct sctp_asconf_chunk *, struct sctp_tcb *, int)
 
void sctp_handle_asconf_ack (struct mbuf *, int, struct sctp_asconf_ack_chunk *, struct sctp_tcb *, struct sctp_nets *, int *)
 
uint32_t sctp_addr_mgmt_ep_sa (struct sctp_inpcb *, struct sockaddr *, uint32_t, uint32_t)
 
int sctp_asconf_iterator_ep (struct sctp_inpcb *inp, void *ptr, uint32_t val)
 
void sctp_asconf_iterator_stcb (struct sctp_inpcb *inp, struct sctp_tcb *stcb, void *ptr, uint32_t type)
 
void sctp_asconf_iterator_end (void *ptr, uint32_t val)
 
int32_t sctp_set_primary_ip_address_sa (struct sctp_tcb *, struct sockaddr *)
 
void sctp_check_address_list (struct sctp_tcb *, struct mbuf *, int, int, struct sockaddr *, uint16_t, uint16_t, uint16_t, uint16_t)
 
void sctp_assoc_immediate_retrans (struct sctp_tcb *, struct sctp_nets *)
 
void sctp_net_immediate_retrans (struct sctp_tcb *, struct sctp_nets *)
 
void sctp_asconf_send_nat_state_update (struct sctp_tcb *stcb, struct sctp_nets *net)
 
int sctp_is_addr_pending (struct sctp_tcb *, struct sctp_ifa *)
 

Macro Definition Documentation

◆ _NETINET_SCTP_ASCONF_H_

#define _NETINET_SCTP_ASCONF_H_

Definition at line 39 of file sctp_asconf.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ sctp_addr_mgmt_ep_sa()

◆ sctp_asconf_cleanup()

void sctp_asconf_cleanup ( struct sctp_tcb stcb)

Definition at line 939 of file sctp_asconf.c.

References sctp_association::asconf_seq_out, sctp_association::asconf_seq_out_acked, sctp_tcb::asoc, sctp_tcb::sctp_ep, SCTP_FROM_SCTP_ASCONF, SCTP_LOC_2, sctp_timer_stop(), SCTP_TIMER_TYPE_ASCONF, and sctp_toss_old_asconf().

Referenced by sctp_asconf_timer(), and sctp_process_unrecog_chunk().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctp_asconf_iterator_end()

void sctp_asconf_iterator_end ( void *  ptr,
uint32_t  val 
)

Definition at line 2263 of file sctp_asconf.c.

References sctp_laddr::action, sctp_ifa::ifa, sctp_laddr::ifa, sctp_asconf_iterator::list_of_work, sctp_ifa::localifa_flags, SCTP_ADD_IP_ADDRESS, SCTP_BASE_INFO, SCTP_DECR_LADDR_COUNT, SCTP_FREE, sctp_free_ifa(), and SCTP_ZONE_FREE.

Referenced by sctp_addr_mgmt_ep_sa(), and sctp_handle_addr_wq().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctp_asconf_iterator_ep()

int sctp_asconf_iterator_ep ( struct sctp_inpcb inp,
void *  ptr,
uint32_t  val 
)

◆ sctp_asconf_iterator_stcb()

void sctp_asconf_iterator_stcb ( struct sctp_inpcb inp,
struct sctp_tcb stcb,
void *  ptr,
uint32_t  type 
)

◆ sctp_asconf_send_nat_state_update()

void sctp_asconf_send_nat_state_update ( struct sctp_tcb stcb,
struct sctp_nets net 
)

◆ sctp_assoc_immediate_retrans()

◆ sctp_check_address_list()

void sctp_check_address_list ( struct sctp_tcb stcb,
struct mbuf *  m,
int  offset,
int  length,
struct sockaddr *  init_addr,
uint16_t  local_scope,
uint16_t  site_scope,
uint16_t  ipv4_scope,
uint16_t  loopback_scope 
)

Definition at line 3132 of file sctp_asconf.c.

References sctp_check_address_list_all(), sctp_check_address_list_ep(), sctp_tcb::sctp_ep, sctp_inpcb::sctp_flags, sctp_is_feature_on, SCTP_PCB_FLAGS_BOUNDALL, SCTP_PCB_FLAGS_DO_ASCONF, and sctp_process_initack_addresses().

Referenced by sctp_process_cookie_new().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctp_compose_asconf()

◆ sctp_handle_asconf()

◆ sctp_handle_asconf_ack()

◆ sctp_is_addr_pending()

◆ sctp_net_immediate_retrans()

◆ sctp_set_primary_ip_address_sa()

int32_t sctp_set_primary_ip_address_sa ( struct sctp_tcb stcb,
struct sockaddr *  sa 
)