/freebsd/sys/netinet/ |
H A D | sctp_timer.h | 46 sctp_t3rxt_timer(struct sctp_inpcb *, struct sctp_tcb *, 50 sctp_t1init_timer(struct sctp_inpcb *, struct sctp_tcb *, 54 sctp_shutdown_timer(struct sctp_inpcb *, struct sctp_tcb *, 58 sctp_heartbeat_timer(struct sctp_inpcb *, struct sctp_tcb *, 62 sctp_cookie_timer(struct sctp_inpcb *, struct sctp_tcb *, 66 sctp_pathmtu_timer(struct sctp_inpcb *, struct sctp_tcb *, 70 sctp_shutdownack_timer(struct sctp_inpcb *, struct sctp_tcb *, 73 sctp_strreset_timer(struct sctp_inpcb *, struct sctp_tcb *); 76 sctp_asconf_timer(struct sctp_inpcb *, struct sctp_tcb *, 80 sctp_delete_prim_timer(struct sctp_inpcb *, struct sctp_tcb *); [all …]
|
H A D | sctp_pcb.h | 43 LIST_HEAD(sctppcbhead, sctp_inpcb); 353 struct sctp_inpcb { struct 367 LIST_ENTRY(sctp_inpcb) sctp_list; /* lists all endpoints */ argument 369 LIST_ENTRY(sctp_inpcb) sctp_hash; 443 struct sctp_inpcb *sctp_ep; /* back pointer to ep */ argument 505 struct sctp_inpcb *sctp_pcb_findep(struct sockaddr *, int, int, uint32_t); 511 sctp_inpcb_bind_locked(struct sctp_inpcb *, struct sockaddr *, 517 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb **, 522 struct sockaddr *, struct sctp_inpcb **, struct sctp_nets **, int, uint32_t); 525 sctp_move_pcb_and_assoc(struct sctp_inpcb *, struct sctp_inpcb *, [all …]
|
H A D | sctputil.h | 71 struct sctp_ifa *sctp_find_ifa_in_ep(struct sctp_inpcb *inp, struct sockaddr *addr, int hold_lock); 77 uint32_t sctp_select_a_tag(struct sctp_inpcb *, uint16_t lport, uint16_t rport, int); 79 int sctp_init_asoc(struct sctp_inpcb *, struct sctp_tcb *, uint32_t, uint32_t, uint32_t, uint16_t); 92 sctp_timer_start(int, struct sctp_inpcb *, struct sctp_tcb *, 96 sctp_timer_stop(int, struct sctp_inpcb *, struct sctp_tcb *, 103 sctp_wakeup_the_read_socket(struct sctp_inpcb *inp, struct sctp_tcb *stcb, 109 sctp_add_to_readq(struct sctp_inpcb *inp, 144 sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp, 145 struct sctp_inpcb *new_inp, 163 sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, struct mbuf *, [all …]
|
H A D | sctp_output.h | 43 sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, 58 sctp_is_addr_in_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa); 61 sctp_source_address_selection(struct sctp_inpcb *inp, 70 void sctp_send_initiate(struct sctp_inpcb *, struct sctp_tcb *, int); 73 sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *, 134 sctp_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *, 137 void sctp_chunk_output(struct sctp_inpcb *, struct sctp_tcb *, int, int);
|
H A D | sctp_peeloff.c | 50 struct sctp_inpcb *inp; in sctp_can_peel_off() 58 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_can_peel_off() 88 struct sctp_inpcb *inp, *n_inp; in sctp_do_peeloff() 92 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_do_peeloff() 111 n_inp = (struct sctp_inpcb *)so->so_pcb; in sctp_do_peeloff()
|
H A D | sctp_asconf.h | 56 sctp_addr_mgmt_ep_sa(struct sctp_inpcb *, struct sockaddr *, uint32_t, 60 sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr, 63 sctp_asconf_iterator_stcb(struct sctp_inpcb *inp,
|
H A D | sctp_auth.h | 192 extern void sctp_clear_cachedkeys_ep(struct sctp_inpcb *inp, uint16_t keyid); 194 extern int sctp_delete_sharedkey_ep(struct sctp_inpcb *inp, uint16_t keyid); 196 extern int sctp_auth_setactivekey_ep(struct sctp_inpcb *inp, uint16_t keyid); 198 extern int sctp_deact_sharedkey_ep(struct sctp_inpcb *inp, uint16_t keyid); 220 sctp_initialize_auth_params(struct sctp_inpcb *inp,
|
H A D | sctp_timer.c | 86 sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_threshold_management() 812 sctp_t3rxt_timer(struct sctp_inpcb *inp, in sctp_t3rxt_timer() 1001 sctp_t1init_timer(struct sctp_inpcb *inp, in sctp_t1init_timer() 1049 sctp_cookie_timer(struct sctp_inpcb *inp, in sctp_cookie_timer() 1114 sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb) in sctp_strreset_timer() 1177 sctp_asconf_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_asconf_timer() 1275 sctp_delete_prim_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb) in sctp_delete_prim_timer() 1297 sctp_shutdown_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_shutdown_timer() 1320 sctp_shutdownack_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_shutdownack_timer() 1343 sctp_audit_stream_queues_for_size(struct sctp_inpcb *inp, struct sctp_tcb *stcb) in sctp_audit_stream_queues_for_size() [all …]
|
H A D | sctp_indata.h | 74 sctp_build_ctl_nchunk(struct sctp_inpcb *inp, 107 struct sctp_inpcb *, struct sctp_tcb *,
|
H A D | sctp_pcb.c | 593 (struct sctp_inpcb *)NULL, in sctp_add_addr_to_vrf() 687 (struct sctp_inpcb *)NULL, in sctp_del_addr_from_vrf() 869 sctp_tcb_special_locate(struct sctp_inpcb **inp_p, struct sockaddr *from, in sctp_tcb_special_locate() 879 struct sctp_inpcb *inp; in sctp_tcb_special_locate() 1129 sctp_findassociation_ep_addr(struct sctp_inpcb **inp_p, struct sockaddr *remote, in sctp_findassociation_ep_addr() 1133 struct sctp_inpcb *inp; in sctp_findassociation_ep_addr() 1410 sctp_findasoc_ep_asocid_locked(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int want_lock) in sctp_findasoc_ep_asocid_locked() 1453 sctp_findassociation_ep_asocid(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int want_lock) in sctp_findassociation_ep_asocid() 1466 static struct sctp_inpcb * 1470 struct sctp_inpcb *inp; in sctp_endpoint_probe() [all …]
|
H A D | sctp_os_bsd.h | 357 #define SCTP_IPV6_V6ONLY(sctp_inpcb) ((sctp_inpcb)->ip_inp.inp.inp_flags & IN6P_IPV6_V6ONLY) argument 412 struct sctp_inpcb *local_inp = _inp; \ 424 struct sctp_inpcb *local_inp = _inp; \
|
H A D | sctp_structs.h | 62 struct sctp_inpcb *inp; 102 typedef void (*asoc_func) (struct sctp_inpcb *, struct sctp_tcb *, void *ptr, 104 typedef int (*inp_func) (struct sctp_inpcb *, void *ptr, uint32_t val); 153 struct sctp_inpcb *inp; /* current endpoint */ 155 struct sctp_inpcb *next_inp; /* special hook to skip to */ 177 struct sctp_inpcb *inp; /* ep */
|
H A D | sctp_usrreq.c | 171 sctp_notify(struct sctp_inpcb *inp, in sctp_notify() 264 struct sctp_inpcb *inp; in sctp_ctlinput() 355 struct sctp_inpcb *inp; in sctp_getcred() 419 struct sctp_inpcb *inp; in sctp_abort() 421 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_abort() 457 struct sctp_inpcb *inp; in sctp_attach() 462 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_attach() 477 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_attach() 490 struct sctp_inpcb *inp; in sctp_bind() 492 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_bind() [all …]
|
H A D | sctputil.c | 93 sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) in sctp_log_closing() 349 sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from) in sctp_log_lock() 628 sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_auditing() 852 struct sctp_inpcb *inp; in sctp_stop_timers_for_shutdown() 876 struct sctp_inpcb *inp; in sctp_stop_association_timers() 1046 sctp_select_a_tag(struct sctp_inpcb *inp, uint16_t lport, uint16_t rport, int check) in sctp_select_a_tag() 1111 sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_init_asoc() 1452 struct sctp_inpcb *tinp; in sctp_iterator_work() 1647 (struct sctp_inpcb *)NULL, in sctp_handle_addr_wq() 1722 struct sctp_inpcb *inp; in sctp_timeout_handler() [all …]
|
H A D | sctp_var.h | 316 struct sctp_inpcb; 331 sctp_notify(struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *,
|
H A D | sctp_auth.c | 1163 sctp_clear_cachedkeys_ep(struct sctp_inpcb *inp, uint16_t keyid) in sctp_clear_cachedkeys_ep() 1217 sctp_delete_sharedkey_ep(struct sctp_inpcb *inp, uint16_t keyid) in sctp_delete_sharedkey_ep() 1277 sctp_auth_setactivekey_ep(struct sctp_inpcb *inp, uint16_t keyid) in sctp_auth_setactivekey_ep() 1330 sctp_deact_sharedkey_ep(struct sctp_inpcb *inp, uint16_t keyid) in sctp_deact_sharedkey_ep() 1908 sctp_initialize_auth_params(struct sctp_inpcb *inp, struct sctp_tcb *stcb) in sctp_initialize_auth_params()
|
H A D | sctp_sysctl.c | 135 sctp_sysctl_number_of_addresses(struct sctp_inpcb *inp) in sctp_sysctl_number_of_addresses() 185 sctp_sysctl_copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sysctl_r… in sctp_sysctl_copy_out_local_addresses() 380 struct sctp_inpcb *inp; in sctp_sysctl_handle_assoclist()
|
H A D | sctp_input.c | 85 struct sctp_init_chunk *cp, struct sctp_inpcb *inp, in sctp_handle_init() 1334 struct sctp_inpcb *inp, struct sctp_nets **netp, 1350 struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets **netp, in sctp_process_cookie_existing() 1958 struct sctp_inpcb *inp, struct sctp_nets **netp, in sctp_process_cookie_new() 2238 struct sctp_inpcb **inp_p, struct sctp_tcb **stcb, struct sctp_nets **netp, in sctp_handle_cookie_echo() 2246 struct sctp_inpcb *l_inp; in sctp_handle_cookie_echo() 2593 struct sctp_inpcb *inp; in sctp_handle_cookie_echo() 2631 inp = (struct sctp_inpcb *)so->so_pcb; in sctp_handle_cookie_echo() 4312 struct sctphdr *sh, struct sctp_chunkhdr *ch, struct sctp_inpcb *inp, in sctp_process_control() 4891 struct sctp_inpcb *linp; in sctp_process_control() [all …]
|
H A D | sctp_output.c | 2024 sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_add_addresses_to_i_ia() 2427 sctp_is_addr_in_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa) in sctp_is_addr_in_ep() 2447 sctp_choose_boundspecific_inp(struct sctp_inpcb *inp, in sctp_choose_boundspecific_inp() 2579 sctp_choose_boundspecific_stcb(struct sctp_inpcb *inp, in sctp_choose_boundspecific_stcb() 2767 struct sctp_inpcb *inp, in sctp_select_nth_preferred_addr_from_ifn_boundall() 2884 struct sctp_inpcb *inp, in sctp_count_num_preferred_boundall() 2941 sctp_choose_boundall(struct sctp_inpcb *inp, in sctp_choose_boundall() 3293 sctp_source_address_selection(struct sctp_inpcb *inp, in sctp_source_address_selection() 3718 sctp_findassociation_cmsgs(struct sctp_inpcb **inp_p, in sctp_findassociation_cmsgs() 3950 sctp_lowlevel_chunk_output(struct sctp_inpcb *inp, in sctp_lowlevel_chunk_output() [all …]
|
H A D | sctp_asconf.c | 1885 sctp_addr_mgmt_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_addr_mgmt_assoc() 2021 sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr, uint32_t val SCTP_UNUSED) in sctp_asconf_iterator_ep() 2066 sctp_asconf_iterator_ep_end(struct sctp_inpcb *inp, void *ptr, uint32_t val SCTP_UNUSED) in sctp_asconf_iterator_ep_end() 2097 sctp_asconf_iterator_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_asconf_iterator_stcb() 3174 sctp_addr_mgmt_ep_sa(struct sctp_inpcb *inp, struct sockaddr *sa, in sctp_addr_mgmt_ep_sa()
|
H A D | sctp_indata.c | 169 sctp_build_ctl_nchunk(struct sctp_inpcb *inp, struct sctp_sndrcvinfo *sinfo) in sctp_build_ctl_nchunk() 2638 struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_process_data()
|
/freebsd/sys/netinet6/ |
H A D | sctp6_usrreq.c | 171 sctp6_notify(struct sctp_inpcb *inp, in sctp6_notify() 250 struct sctp_inpcb *inp; in sctp6_ctlinput() 370 struct sctp_inpcb *inp; in sctp6_getcred() 440 struct sctp_inpcb *inp; in sctp6_attach() 443 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_attach() 457 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_attach() 479 struct sctp_inpcb *inp; in sctp6_bind() 483 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_bind() 596 struct sctp_inpcb *inp; in sctp6_send() 603 inp = (struct sctp_inpcb *)so->so_pcb; in sctp6_send() [all …]
|
H A D | sctp6_var.h | 46 sctp6_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *, 50 sctp6_notify(struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *,
|