Home
last modified time | relevance | path

Searched refs:sctp_tcb (Results 1 – 25 of 25) sorted by relevance

/external/usrsctp/usrsctplib/netinet/
Dsctp_output.h50 struct sctp_tcb *stcb,
57 int sctp_is_addr_restricted(struct sctp_tcb *, struct sctp_ifa *);
70 struct sctp_tcb *stcb,
81 void sctp_send_initiate(struct sctp_inpcb *, struct sctp_tcb *, int
88 sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *,
101 void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *);
104 sctp_send_cookie_echo(struct mbuf *, int, int, struct sctp_tcb *,
107 void sctp_send_cookie_ack(struct sctp_tcb *);
110 sctp_send_heartbeat_ack(struct sctp_tcb *, struct mbuf *, int, int,
114 sctp_remove_from_wheel(struct sctp_tcb *stcb,
[all …]
Dsctp_timer.h49 sctp_find_alternate_net(struct sctp_tcb *, struct sctp_nets *, int);
52 sctp_t3rxt_timer(struct sctp_inpcb *, struct sctp_tcb *,
56 sctp_t1init_timer(struct sctp_inpcb *, struct sctp_tcb *,
60 sctp_shutdown_timer(struct sctp_inpcb *, struct sctp_tcb *,
64 sctp_heartbeat_timer(struct sctp_inpcb *, struct sctp_tcb *,
68 sctp_cookie_timer(struct sctp_inpcb *, struct sctp_tcb *,
72 sctp_pathmtu_timer(struct sctp_inpcb *, struct sctp_tcb *,
76 sctp_shutdownack_timer(struct sctp_inpcb *, struct sctp_tcb *,
79 sctp_strreset_timer(struct sctp_inpcb *, struct sctp_tcb *);
82 sctp_asconf_timer(struct sctp_inpcb *, struct sctp_tcb *,
[all …]
Dsctputil.h49 void sctp_print_out_track_log(struct sctp_tcb *stcb);
87 int sctp_init_asoc(struct sctp_inpcb *, struct sctp_tcb *, uint32_t, uint32_t, uint16_t);
92 sctp_notify_stream_reset_add(struct sctp_tcb *stcb, uint16_t numberin,
95 sctp_notify_stream_reset_tsn(struct sctp_tcb *stcb, uint32_t sending_tsn, uint32_t recv_tsn, int fl…
98 sctp_timer_start(int, struct sctp_inpcb *, struct sctp_tcb *,
102 sctp_timer_stop(int, struct sctp_inpcb *, struct sctp_tcb *,
112 sctp_wakeup_the_read_socket(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
121 struct sctp_tcb *,
128 struct sctp_tcb *stcb,
148 sctp_calculate_rto(struct sctp_tcb *, struct sctp_association *,
[all …]
Dsctp_asconf.h48 extern void sctp_asconf_cleanup(struct sctp_tcb *);
50 extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *, int *, int);
54 struct sctp_asconf_chunk *, struct sctp_tcb *, int);
58 struct sctp_tcb *, struct sctp_nets *, int *);
68 struct sctp_tcb *stcb,
74 sctp_set_primary_ip_address_sa(struct sctp_tcb *,
78 sctp_check_address_list(struct sctp_tcb *, struct mbuf *, int, int,
82 sctp_assoc_immediate_retrans(struct sctp_tcb *, struct sctp_nets *);
85 sctp_net_immediate_retrans(struct sctp_tcb *, struct sctp_nets *);
89 sctp_asconf_send_nat_state_update(struct sctp_tcb *stcb,
[all …]
Dsctp_indata.h46 sctp_build_readq_entry(struct sctp_tcb *stcb,
85 void sctp_set_rwnd(struct sctp_tcb *, struct sctp_association *);
88 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc);
91 sctp_express_handle_sack(struct sctp_tcb *stcb, uint32_t cumack,
96 struct sctp_tcb *stcb,
103 sctp_handle_forward_tsn(struct sctp_tcb *,
107 sctp_try_advance_peer_ack_point(struct sctp_tcb *, struct sctp_association *);
109 void sctp_service_queues(struct sctp_tcb *, struct sctp_association *);
112 sctp_update_acked(struct sctp_tcb *, struct sctp_shutdown_chunk *, int *);
116 struct sctp_inpcb *, struct sctp_tcb *,
[all …]
Dsctp_pcb.h49 LIST_HEAD(sctpasochead, sctp_tcb);
620 struct sctp_tcb { struct
623 LIST_ENTRY(sctp_tcb) sctp_tcbhash; /* next link in hash argument
625 LIST_ENTRY(sctp_tcb) sctp_tcblist; /* list of all of the
627 LIST_ENTRY(sctp_tcb) sctp_tcbasocidhash; /* next link in asocid
630 LIST_ENTRY(sctp_tcb) sctp_asocs; /* vtag hash list */
754 struct sctp_nets *sctp_findnet(struct sctp_tcb *, struct sockaddr *);
770 struct sctp_tcb *
776 struct sctp_tcb *
782 struct sctp_tcb *);
[all …]
Dsctp_auth.h148 extern void sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t keyid);
149 extern void sctp_auth_key_release(struct sctp_tcb *stcb, uint16_t keyid,
186 extern void sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid);
188 extern int sctp_delete_sharedkey(struct sctp_tcb *stcb, uint16_t keyid);
190 extern int sctp_auth_setactivekey(struct sctp_tcb *stcb, uint16_t keyid);
192 extern int sctp_deact_sharedkey(struct sctp_tcb *stcb, uint16_t keyid);
195 extern void sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m,
198 struct sctp_auth_chunk *auth, struct sctp_tcb *stcb, uint16_t key_id);
201 struct sctp_tcb *stcb, uint8_t chunk);
202 extern int sctp_handle_auth(struct sctp_tcb *stcb, struct sctp_auth_chunk *ch,
[all …]
Dsctp_ss_functions.c47 sctp_ss_default_add(struct sctp_tcb *, struct sctp_association *,
52 sctp_ss_default_remove(struct sctp_tcb *, struct sctp_association *,
57 sctp_ss_default_init(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_init()
86 sctp_ss_default_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_clear()
108 sctp_ss_default_init_stream(struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream… in sctp_ss_default_init_stream()
124 sctp_ss_default_add(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_add()
145 sctp_ss_default_is_empty(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc) in sctp_ss_default_is_empty()
155 sctp_ss_default_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_remove()
190 sctp_ss_default_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, in sctp_ss_default_select()
238 sctp_ss_default_scheduled(struct sctp_tcb *stcb, in sctp_ss_default_scheduled()
[all …]
Dsctp_structs.h111 typedef void (*asoc_func) (struct sctp_inpcb *, struct sctp_tcb *, void *ptr,
150 struct sctp_tcb *stcb; /* current* assoc */
530 struct sctp_tcb *stcb; /* assoc, used for window update */
760 void (*sctp_set_initial_cc_param)(struct sctp_tcb *stcb, struct sctp_nets *net);
761 void (*sctp_cwnd_update_after_sack)(struct sctp_tcb *stcb,
764 void (*sctp_cwnd_update_exit_pf)(struct sctp_tcb *stcb, struct sctp_nets *net);
765 void (*sctp_cwnd_update_after_fr)(struct sctp_tcb *stcb,
767 void (*sctp_cwnd_update_after_timeout)(struct sctp_tcb *stcb,
769 void (*sctp_cwnd_update_after_ecn_echo)(struct sctp_tcb *stcb,
771 void (*sctp_cwnd_update_after_packet_dropped)(struct sctp_tcb *stcb,
[all …]
Dsctp_input.h56 sctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq,
59 void sctp_reset_in_stream(struct sctp_tcb *stcb, uint32_t number_entries,
63 int sctp_is_there_unsent_data(struct sctp_tcb *stcb, int so_locked);
Dsctp_cc_functions.c75 sctp_set_initial_cc_param(struct sctp_tcb *stcb, struct sctp_nets *net) in sctp_set_initial_cc_param()
116 sctp_cwnd_update_after_fr(struct sctp_tcb *stcb, in sctp_cwnd_update_after_fr()
257 cc_bw_same(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, in cc_bw_same()
261 cc_bw_same(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, uint64_t nbw, in cc_bw_same()
412 cc_bw_decrease(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t rtt_offset, in cc_bw_decrease()
416 cc_bw_decrease(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, uint64_t nbw, uint64_t rtt… in cc_bw_decrease()
573 cc_bw_increase(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t vtag) in cc_bw_increase()
576 cc_bw_increase(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, uint64_t nbw) in cc_bw_increase()
627 cc_bw_limit(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw) in cc_bw_limit()
761 sctp_cwnd_update_after_sack_common(struct sctp_tcb *stcb, in sctp_cwnd_update_after_sack_common()
[all …]
Dsctp_asconf.c159 struct sctp_tcb *stcb, int send_hb, int response_required) in sctp_process_asconf_add_ip()
293 sctp_asconf_del_remote_addrs_except(struct sctp_tcb *stcb, struct sockaddr *src) in sctp_asconf_del_remote_addrs_except()
324 struct sctp_tcb *stcb, int response_required) in sctp_process_asconf_delete_ip()
466 struct sctp_tcb *stcb, int response_required) in sctp_process_asconf_set_primary()
627 struct sctp_asconf_chunk *cp, struct sctp_tcb *stcb, in sctp_handle_asconf()
957 sctp_asconf_cleanup(struct sctp_tcb *stcb) in sctp_asconf_cleanup()
974 sctp_asconf_nets_cleanup(struct sctp_tcb *stcb, struct sctp_ifn *ifn) in sctp_asconf_nets_cleanup()
1017 sctp_assoc_immediate_retrans(struct sctp_tcb *stcb, struct sctp_nets *dstnet) in sctp_assoc_immediate_retrans()
1071 sctp_asconf_queue_mgmt(struct sctp_tcb *, struct sctp_ifa *, uint16_t);
1074 sctp_net_immediate_retrans(struct sctp_tcb *stcb, struct sctp_nets *net) in sctp_net_immediate_retrans()
[all …]
Dsctp_timer.c101 sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_threshold_management()
182 sctp_find_alternate_net(struct sctp_tcb *stcb,
410 sctp_backoff_on_timeout(struct sctp_tcb *stcb,
435 sctp_recover_sent_list(struct sctp_tcb *stcb)
481 sctp_mark_all_for_resend(struct sctp_tcb *stcb,
820 struct sctp_tcb *stcb,
1016 struct sctp_tcb *stcb,
1064 struct sctp_tcb *stcb,
1128 sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb)
1191 sctp_asconf_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
[all …]
Dsctp_peeloff.c60 struct sctp_tcb *stcb; in sctp_can_peel_off()
98 struct sctp_tcb *stcb; in sctp_do_peeloff()
191 struct sctp_tcb *stcb; in sctp_get_peeloff()
294 sctp_log_lock(inp, (struct sctp_tcb *)NULL, SCTP_LOG_LOCK_SOCK); in sctp_get_peeloff()
Dsctp_input.c72 sctp_stop_all_cookie_timers(struct sctp_tcb *stcb) in sctp_stop_all_cookie_timers()
102 struct sctp_tcb *stcb, struct sctp_nets *net, int *abort_no_unlock, in sctp_handle_init()
245 sctp_is_there_unsent_data(struct sctp_tcb *stcb, int so_locked in sctp_is_there_unsent_data()
314 sctp_process_init(struct sctp_init_chunk *cp, struct sctp_tcb *stcb) in sctp_process_init()
467 struct sctp_init_ack_chunk *cp, struct sctp_tcb *stcb, in sctp_process_init_ack()
627 struct sctp_tcb *stcb, struct sctp_nets *net) in sctp_handle_heartbeat_ack()
787 sctp_handle_nat_colliding_state(struct sctp_tcb *stcb) in sctp_handle_nat_colliding_state()
840 sctp_handle_nat_missing_state(struct sctp_tcb *stcb, in sctp_handle_nat_missing_state()
858 struct sctp_tcb *stcb, struct sctp_nets *net) in sctp_handle_abort()
929 sctp_start_net_timers(struct sctp_tcb *stcb) in sctp_start_net_timers()
[all …]
Dsctp_var.h395 struct sctp_tcb;
413 void sctp_pathmtu_adjustment __P((struct sctp_tcb *, uint16_t));
429 void sctp_pathmtu_adjustment(struct sctp_tcb *, uint16_t);
435 void sctp_pathmtu_adjustment(struct sctp_tcb *, uint16_t);
457 void sctp_notify(struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *,
Dsctp_pcb.c806 (struct sctp_tcb *)NULL,
916 (struct sctp_tcb *)NULL,
925 sctp_does_stcb_own_this_addr(struct sctp_tcb *stcb, struct sockaddr *to)
1146 static struct sctp_tcb *
1159 struct sctp_tcb *stcb;
1464 struct sctp_tcb *
1466 struct sctp_nets **netp, struct sockaddr *local, struct sctp_tcb *locked_tcb)
1470 struct sctp_tcb *stcb = NULL;
1826 struct sctp_tcb *
1833 struct sctp_tcb *stcb;
[all …]
Dsctp_auth.c553 sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t key_id) in sctp_auth_key_acquire()
570 sctp_auth_key_release(struct sctp_tcb *stcb, uint16_t key_id, int so_locked in sctp_auth_key_release()
1180 sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid)
1203 struct sctp_tcb *stcb;
1221 sctp_delete_sharedkey(struct sctp_tcb *stcb, uint16_t keyid)
1287 sctp_auth_setactivekey(struct sctp_tcb *stcb, uint16_t keyid)
1334 sctp_deact_sharedkey(struct sctp_tcb *stcb, uint16_t keyid)
1397 sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m,
1538 struct sctp_auth_chunk *auth, struct sctp_tcb *stcb, uint16_t keyid)
1626 sctp_handle_auth(struct sctp_tcb *stcb, struct sctp_auth_chunk *auth,
[all …]
Dsctputil.c93 sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr) in sctp_sblog()
116 sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) in sctp_log_closing()
161 sctp_log_strm_del_alt(struct sctp_tcb *stcb, uint32_t tsn, uint16_t sseq, uint16_t stream, int from) in sctp_log_strm_del_alt()
183 sctp_log_nagle_event(struct sctp_tcb *stcb, int action) in sctp_log_nagle_event()
339 sctp_log_cwnd(struct sctp_tcb *stcb, struct sctp_nets *net, int augment, uint8_t from) in sctp_log_cwnd()
377 sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from) in sctp_log_lock()
430 sctp_log_maxburst(struct sctp_tcb *stcb, struct sctp_nets *net, int error, int burst, uint8_t from) in sctp_log_maxburst()
532 sctp_wakeup_log(struct sctp_tcb *stcb, uint32_t wake_cnt, int from) in sctp_wakeup_log()
663 sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_auditing()
886 sctp_stop_timers_for_shutdown(struct sctp_tcb *stcb) in sctp_stop_timers_for_shutdown()
[all …]
Dsctp_indata.c73 struct sctp_tcb *stcb,
79 sctp_set_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_set_rwnd()
86 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_calc_rwnd()
143 sctp_build_readq_entry(struct sctp_tcb *stcb, in sctp_build_readq_entry()
444 sctp_abort_in_reasm(struct sctp_tcb *stcb, in sctp_abort_in_reasm()
480 sctp_clean_up_control(struct sctp_tcb *stcb, struct sctp_queued_to_read *control) in sctp_clean_up_control()
508 sctp_queue_data_to_stream(struct sctp_tcb *stcb, in sctp_queue_data_to_stream()
682 struct sctp_tcb *stcb; in sctp_setup_tail_pointer()
724 struct sctp_tcb *stcb; in sctp_add_to_tail_pointer()
814 sctp_handle_old_unordered_data(struct sctp_tcb *stcb, in sctp_handle_old_unordered_data()
[all …]
Dsctp_output.c2070 sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_add_addresses_to_i_ia()
2467 sctp_is_addr_restricted(struct sctp_tcb *stcb, struct sctp_ifa *ifa) in sctp_is_addr_restricted()
2650 struct sctp_tcb *stcb, in sctp_choose_boundspecific_stcb()
2848 struct sctp_tcb *stcb, in sctp_select_nth_preferred_addr_from_ifn_boundall()
2982 struct sctp_tcb *stcb, in sctp_count_num_preferred_boundall()
3041 struct sctp_tcb *stcb, in sctp_choose_boundall()
3399 struct sctp_tcb *stcb,
3680 sctp_process_cmsgs_for_init(struct sctp_tcb *stcb, struct mbuf *control, int *error)
3853 static struct sctp_tcb *
3865 struct sctp_tcb *stcb;
[all …]
Dsctp_usrreq.c232 sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz) in sctp_pathmtu_adjustment()
283 struct sctp_tcb *stcb,
414 struct sctp_tcb *stcb;
576 struct sctp_tcb *stcb;
1146 struct sctp_tcb *stcb;
1370 struct sctp_tcb *stcb;
1516 struct sctp_tcb *stcb,
1834 struct sctp_tcb *stcb,
1986 struct sctp_tcb *stcb = NULL;
2173 struct sctp_tcb *stcb = NULL;
[all …]
Dsctp_sysctl.c245 sctp_sysctl_copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sysctl_r… in sctp_sysctl_copy_out_local_addresses()
448 struct sctp_tcb *stcb;
/external/usrsctp/usrsctplib/netinet6/
Dsctp6_var.h90 void sctp6_notify(struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *,
Dsctp6_usrreq.c341 struct sctp_tcb *stcb,
441 struct sctp_tcb *stcb;
629 struct sctp_tcb *stcb;
1198 struct sctp_tcb *stcb;
1399 struct sctp_tcb *stcb;
1506 struct sctp_tcb *stcb;