FreeBSD kernel IPv4 code
sctp_inpcb Struct Reference

#include <sctp_pcb.h>

Collaboration diagram for sctp_inpcb:

Public Member Functions

 LIST_ENTRY (sctp_inpcb) sctp_list
 
 LIST_ENTRY (sctp_inpcb) sctp_hash
 

Data Fields

union {
   struct inpcb   inp
 
   char   align [(sizeof(struct inpcb)+SCTP_ALIGNM1)
      &~SCTP_ALIGNM1]
 
ip_inp
 
struct sctp_readhead read_queue
 
int laddr_count
 
struct sctpladdr sctp_addr_list
 
struct sctp_laddrnext_addr_touse
 
struct socket * sctp_socket
 
uint64_t sctp_features
 
uint32_t sctp_flags
 
uint32_t sctp_mobility_features
 
struct sctp_pcb sctp_ep
 
struct sctpasochead * sctp_tcbhash
 
u_long sctp_hashmark
 
struct sctpasochead sctp_asoc_list
 
uint32_t sctp_frag_point
 
uint32_t partial_delivery_point
 
uint32_t sctp_context
 
uint32_t max_cwnd
 
uint8_t local_strreset_support
 
uint32_t sctp_cmt_on_off
 
uint8_t ecn_supported
 
uint8_t prsctp_supported
 
uint8_t auth_supported
 
uint8_t idata_supported
 
uint8_t asconf_supported
 
uint8_t reconfig_supported
 
uint8_t nrsack_supported
 
uint8_t pktdrop_supported
 
struct sctp_nonpad_sndrcvinfo def_send
 
struct mbuf * pkt
 
struct mbuf * pkt_last
 
struct mbuf * control
 
struct mtx inp_mtx
 
struct mtx inp_create_mtx
 
struct mtx inp_rdata_mtx
 
int32_t refcount
 
uint32_t def_vrf_id
 
uint16_t fibnum
 
uint32_t total_sends
 
uint32_t total_recvs
 
uint32_t last_abort_code
 
uint32_t total_nospaces
 
struct sctpasochead * sctp_asocidhash
 
u_long hashasocidmark
 
uint32_t sctp_associd_counter
 

Detailed Description

Definition at line 350 of file sctp_pcb.h.

Member Function Documentation

◆ LIST_ENTRY() [1/2]

sctp_inpcb::LIST_ENTRY ( sctp_inpcb  )

◆ LIST_ENTRY() [2/2]

sctp_inpcb::LIST_ENTRY ( sctp_inpcb  )

Field Documentation

◆ align

char sctp_inpcb::align[(sizeof(struct inpcb)+SCTP_ALIGNM1) & ~SCTP_ALIGNM1]

Definition at line 357 of file sctp_pcb.h.

◆ asconf_supported

uint8_t sctp_inpcb::asconf_supported

◆ auth_supported

◆ control

struct mbuf* sctp_inpcb::control

Definition at line 416 of file sctp_pcb.h.

Referenced by sctp_inpcb_free(), sctp_sendm(), and sctp_sorecvmsg().

◆ def_send

struct sctp_nonpad_sndrcvinfo sctp_inpcb::def_send

Definition at line 406 of file sctp_pcb.h.

Referenced by sctp_getopt(), sctp_init_asoc(), sctp_lower_sosend(), and sctp_setopt().

◆ def_vrf_id

◆ ecn_supported

uint8_t sctp_inpcb::ecn_supported

◆ fibnum

◆ hashasocidmark

u_long sctp_inpcb::hashasocidmark

◆ idata_supported

uint8_t sctp_inpcb::idata_supported

◆ inp

struct inpcb sctp_inpcb::inp

Definition at line 356 of file sctp_pcb.h.

Referenced by sctp_accept(), sctp_add_addresses_to_i_ia(), sctp_add_local_addr_ep(), sctp_addr_mgmt_assoc(), sctp_asconf_iterator_stcb(), sctp_asconf_send_nat_state_update(), sctp_bindx_add_address(), sctp_can_peel_off(), sctp_check_address_list_all(), sctp_choose_boundall(), sctp_choose_boundspecific_inp(), sctp_choose_boundspecific_stcb(), sctp_close(), sctp_common_input_processing(), sctp_connectx_helper_add(), sctp_count_num_preferred_boundall(), sctp_ctloutput(), sctp_del_local_addr_restricted(), sctp_destination_is_reachable(), sctp_disconnect(), sctp_do_peeloff(), sctp_does_stcb_own_this_addr(), sctp_drain(), sctp_endpoint_probe(), sctp_fill_up_addresses_vrf(), sctp_find_valid_localaddr(), sctp_findassociation_addr(), sctp_findassociation_addr_sa(), sctp_findassociation_ep_addr(), sctp_flush(), sctp_getcred(), sctp_getopt(), sctp_handle_cookie_echo(), sctp_init_asoc(), sctp_inpcb_alloc(), sctp_inpcb_bind(), sctp_inpcb_bind_locked(), sctp_inpcb_free(), sctp_isport_inuse(), sctp_listen(), sctp_load_addresses_from_init(), sctp_local_addr_count(), sctp_lower_sosend(), sctp_lowlevel_chunk_output(), sctp_move_pcb_and_assoc(), sctp_pcb_findep(), sctp_remove_net(), sctp_select_nth_preferred_addr_from_ifn_boundall(), sctp_sendm(), sctp_setopt(), sctp_shutdown(), sctp_soreceive(), sctp_sorecvmsg(), sctp_stop_association_timers(), sctp_stop_timers_for_shutdown(), sctp_swap_inpcb_for_listen(), sctp_sysctl_copy_out_local_addresses(), sctp_sysctl_handle_assoclist(), sctp_tcb_special_locate(), sctp_timeout_handler(), and sctp_update_ep_vflag().

◆ inp_create_mtx

struct mtx sctp_inpcb::inp_create_mtx

Definition at line 418 of file sctp_pcb.h.

Referenced by sctp_log_lock().

◆ inp_mtx

struct mtx sctp_inpcb::inp_mtx

Definition at line 417 of file sctp_pcb.h.

Referenced by sctp_log_lock().

◆ inp_rdata_mtx

struct mtx sctp_inpcb::inp_rdata_mtx

Definition at line 419 of file sctp_pcb.h.

Referenced by sctp_sorecvmsg().

◆ 

◆ laddr_count

◆ last_abort_code

◆ local_strreset_support

uint8_t sctp_inpcb::local_strreset_support

Definition at line 396 of file sctp_pcb.h.

Referenced by sctp_do_peeloff(), sctp_getopt(), sctp_init_asoc(), and sctp_setopt().

◆ max_cwnd

uint32_t sctp_inpcb::max_cwnd

◆ next_addr_touse

struct sctp_laddr* sctp_inpcb::next_addr_touse

Definition at line 376 of file sctp_pcb.h.

Referenced by sctp_choose_boundspecific_inp(), and sctp_del_local_addr_ep().

◆ nrsack_supported

uint8_t sctp_inpcb::nrsack_supported

◆ partial_delivery_point

uint32_t sctp_inpcb::partial_delivery_point

Definition at line 393 of file sctp_pcb.h.

Referenced by sctp_deliver_reasm_check(), sctp_do_peeloff(), and sctp_inpcb_alloc().

◆ pkt

struct mbuf* sctp_inpcb::pkt

Definition at line 415 of file sctp_pcb.h.

Referenced by sctp_inpcb_free(), and sctp_sendm().

◆ pkt_last

struct mbuf * sctp_inpcb::pkt_last

Definition at line 415 of file sctp_pcb.h.

◆ pktdrop_supported

uint8_t sctp_inpcb::pktdrop_supported

◆ prsctp_supported

uint8_t sctp_inpcb::prsctp_supported

◆ read_queue

◆ reconfig_supported

uint8_t sctp_inpcb::reconfig_supported

◆ refcount

int32_t sctp_inpcb::refcount

Definition at line 420 of file sctp_pcb.h.

Referenced by sctp_inpcb_free().

◆ sctp_addr_list

◆ sctp_asoc_list

◆ sctp_asocidhash

struct sctpasochead* sctp_inpcb::sctp_asocidhash

◆ sctp_associd_counter

uint32_t sctp_inpcb::sctp_associd_counter

Definition at line 429 of file sctp_pcb.h.

Referenced by sctp_aloc_a_assoc_id(), and sctp_inpcb_alloc().

◆ sctp_cmt_on_off

uint32_t sctp_inpcb::sctp_cmt_on_off

◆ sctp_context

uint32_t sctp_inpcb::sctp_context

Definition at line 394 of file sctp_pcb.h.

Referenced by sctp_do_peeloff(), sctp_getopt(), sctp_init_asoc(), and sctp_setopt().

◆ sctp_ep

◆ sctp_features

uint64_t sctp_inpcb::sctp_features

◆ sctp_flags

uint32_t sctp_inpcb::sctp_flags

Definition at line 381 of file sctp_pcb.h.

Referenced by sctp_abort_an_association(), sctp_abort_notification(), sctp_add_addresses_to_i_ia(), sctp_add_local_addr_ep(), sctp_add_to_readq(), sctp_addr_mgmt_assoc(), sctp_aloc_a_assoc_id(), sctp_aloc_assoc_connected(), sctp_aloc_assoc_locked(), sctp_asconf_iterator_ep(), sctp_asconf_iterator_stcb(), sctp_asconf_queue_add(), sctp_asconf_send_nat_state_update(), sctp_bindx_add_address(), sctp_bindx_delete_address(), sctp_check_address_list(), sctp_compose_asconf(), sctp_del_local_addr_ep(), sctp_del_local_addr_restricted(), sctp_do_connect_x(), sctp_do_peeloff(), sctp_does_stcb_own_this_addr(), sctp_endpoint_probe(), sctp_fill_up_addresses_vrf(), sctp_findasoc_ep_asocid_locked(), sctp_findassoc_by_vtag(), sctp_findassociation_ep_addr(), sctp_free_assoc(), sctp_get_frag_point(), sctp_getopt(), sctp_handle_cookie_ack(), sctp_handle_init(), sctp_handle_ootb(), sctp_handle_shutdown_ack(), sctp_init_asoc(), sctp_inpcb_alloc(), sctp_inpcb_bind_locked(), sctp_inpcb_free(), sctp_is_vtag_good(), sctp_isport_inuse(), sctp_iterator_work(), sctp_listen(), sctp_local_addr_count(), sctp_log_closing(), sctp_lower_sosend(), sctp_max_size_addresses_vrf(), sctp_move_pcb_and_assoc(), sctp_move_to_outqueue(), sctp_notify_assoc_change(), sctp_notify_authentication(), sctp_notify_partial_delivery_indication(), sctp_notify_shutdown_event(), sctp_pathmtu_adjustment(), sctp_process_a_data_chunk(), sctp_process_control(), sctp_process_cookie_existing(), sctp_process_cookie_new(), sctp_report_all_outbound(), sctp_send_initiate_ack(), sctp_sendall(), sctp_sendall_completes(), sctp_setopt(), sctp_sorecvmsg(), sctp_source_address_selection(), sctp_swap_inpcb_for_listen(), sctp_sysctl_copy_out_local_addresses(), sctp_sysctl_handle_assoclist(), sctp_sysctl_number_of_addresses(), sctp_tcb_special_locate(), sctp_ulp_notify(), sctp_user_rcvd(), sctp_wakeup_log(), and send_forward_tsn().

◆ sctp_frag_point

uint32_t sctp_inpcb::sctp_frag_point

◆ sctp_hashmark

u_long sctp_inpcb::sctp_hashmark

◆ sctp_mobility_features

uint32_t sctp_inpcb::sctp_mobility_features

Definition at line 382 of file sctp_pcb.h.

Referenced by sctp_do_peeloff().

◆ sctp_socket

◆ sctp_tcbhash

struct sctpasochead* sctp_inpcb::sctp_tcbhash

◆ total_nospaces

uint32_t sctp_inpcb::total_nospaces

Definition at line 426 of file sctp_pcb.h.

Referenced by sctp_sysctl_handle_assoclist().

◆ total_recvs

uint32_t sctp_inpcb::total_recvs

Definition at line 424 of file sctp_pcb.h.

Referenced by sctp_add_to_readq(), and sctp_sysctl_handle_assoclist().

◆ total_sends

uint32_t sctp_inpcb::total_sends

Definition at line 423 of file sctp_pcb.h.

Referenced by sctp_sysctl_handle_assoclist().


The documentation for this struct was generated from the following file: