Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netinet/
H A Dsctp_timer.c105 stcb, 0, in sctp_threshold_management()
146 (void *)&stcb->asoc, stcb->asoc.overall_error_count, in sctp_threshold_management()
930 stcb->asoc.sat_t3_recovery_tsn = stcb->asoc.sending_seq; in sctp_t3rxt_timer()
983 lchk = sctp_try_advance_peer_ack_point(stcb, &stcb->asoc); in sctp_t3rxt_timer()
986 send_forward_tsn(stcb, &stcb->asoc); in sctp_t3rxt_timer()
1365 if (stcb->asoc.ss_functions.sctp_ss_is_empty(stcb, &stcb->asoc)) { in sctp_audit_stream_queues_for_size()
1367 stcb->asoc.ss_functions.sctp_ss_init(stcb, &stcb->asoc, 0); in sctp_audit_stream_queues_for_size()
1368 if (!stcb->asoc.ss_functions.sctp_ss_is_empty(stcb, &stcb->asoc)) { in sctp_audit_stream_queues_for_size()
1502 stcb, in sctp_pathmtu_timer()
1588 stcb->sctp_ep, stcb, net); in sctp_autoclose_timer()
[all …]
H A Dsctp_input.c686 stcb->sctp_ep, stcb, NULL, in sctp_handle_heartbeat_ack()
857 sctp_chunk_output(stcb->sctp_ep, stcb, in sctp_start_net_timers()
967 stcb->sctp_ep, stcb, net); in sctp_handle_shutdown()
1557 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_existing()
1763 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_existing()
1830 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_existing()
2208 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_new()
2816 stcb->sctp_ep, stcb, NULL); in sctp_handle_cookie_ack()
2854 stcb->sctp_ep, stcb, NULL); in sctp_handle_cookie_ack()
2866 stcb->sctp_ep, stcb, in sctp_handle_cookie_ack()
[all …]
H A Dsctp_var.h53 if (stcb) { \
60 if (stcb) { \
215 if (stcb) { \
262 stcb->asoc.fslog[stcb->asoc.fs_index].total_flight = stcb->asoc.total_flight; \
265 stcb->asoc.fslog[stcb->asoc.fs_index].sent = tp1->sent; \
266 stcb->asoc.fslog[stcb->asoc.fs_index].incr = 0; \
267 stcb->asoc.fslog[stcb->asoc.fs_index].decr = 1; \
283 stcb->asoc.fslog[stcb->asoc.fs_index].total_flight = stcb->asoc.total_flight; \
286 stcb->asoc.fslog[stcb->asoc.fs_index].sent = tp1->sent; \
287 stcb->asoc.fslog[stcb->asoc.fs_index].incr = 1; \
[all …]
H A Dsctputil.c78 sctp_clog.x.sb.stcb = stcb; in sctp_sblog()
104 sctp_clog.x.close.stcb = (void *)stcb; in sctp_log_closing()
146 sctp_clog.x.strlog.stcb = stcb; in sctp_log_strm_del_alt()
168 sctp_clog.x.nagle.stcb = (void *)stcb; in sctp_log_nagle_event()
293 sctp_clog.x.strlog.stcb = control->stcb; in sctp_log_strm_del()
505 sctp_clog.x.wake.stcb = (void *)stcb; in sctp_wakeup_log()
1743 type, stcb, stcb->sctp_ep)); in sctp_timeout_handler()
2151 t_type, stcb, stcb->sctp_ep)); in sctp_timer_start()
2605 t_type, stcb, stcb->sctp_ep)); in sctp_timer_stop()
4768 if (control->stcb == stcb) { in sctp_pull_off_control_to_new_inp()
[all …]
H A Dsctp_usrreq.c750 stcb->sctp_ep, stcb, netp); in sctp_disconnect()
752 stcb->sctp_ep, stcb, NULL); in sctp_disconnect()
945 stcb->sctp_ep, stcb, netp); in sctp_shutdown()
1791 … (stcb->asoc.ss_functions.sctp_ss_get_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id],
4062 stcb->asoc.ss_functions.sctp_ss_clear(stcb, &stcb->asoc, 1, 1);
4065 stcb->asoc.ss_functions.sctp_ss_init(stcb, &stcb->asoc, 1);
4085 stcb->asoc.ss_functions.sctp_ss_clear(stcb, &stcb->asoc, 1, 1);
4088 stcb->asoc.ss_functions.sctp_ss_init(stcb, &stcb->asoc, 1);
4105 … (stcb->asoc.ss_functions.sctp_ss_set_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id],
5410 stcb->sctp_ep, stcb, net,
[all …]
H A Dsctp_asconf.c574 stcb->sctp_ep, stcb, NULL, in sctp_process_asconf_set_primary()
586 sctp_delete_prim_timer(stcb->sctp_ep, stcb); in sctp_process_asconf_set_primary()
1017 error = sctp_t3rxt_timer(stcb->sctp_ep, stcb, in sctp_assoc_immediate_retrans()
1025 sctp_auditing(4, stcb->sctp_ep, stcb, stcb->asoc.deleted_primary); in sctp_assoc_immediate_retrans()
1407 stcb->asoc.cc_functions.sctp_set_initial_cc_param(stcb, in sctp_asconf_queue_add()
2014 stcb, stcb->asoc.primary_destination); in sctp_addr_mgmt_assoc()
2313 stcb->sctp_ep, stcb, in sctp_set_primary_ip_address_sa()
2852 stcb->sctp_ep, stcb, in sctp_process_initack_addresses()
3027 sctp_addr_mgmt_assoc(stcb->sctp_ep, stcb, laddr->ifa, in sctp_check_address_list_ep()
3054 if (stcb) { in sctp_check_address_list_all()
[all …]
H A Dsctp_indata.c162 read_queue_e->stcb = stcb; in sctp_build_readq_entry()
638 stcb = control->stcb; in sctp_setup_tail_pointer()
680 stcb = control->stcb; in sctp_add_to_tail_pointer()
747 nc->stcb = control->stcb; in sctp_build_readq_entry_from_ctl()
2588 stcb->sctp_ep, stcb, NULL, in sctp_sack_check()
2628 stcb->sctp_ep, stcb, NULL); in sctp_sack_check()
2664 sctp_set_rwnd(stcb, &stcb->asoc); in sctp_process_data()
4178 stcb->sctp_ep, stcb, net, in sctp_express_handle_sack()
4331 stcb->sctp_ep, stcb, netp); in sctp_express_handle_sack()
4333 stcb->sctp_ep, stcb, NULL); in sctp_express_handle_sack()
[all …]
H A Dsctp_output.c3626 stcb->asoc.strm_realoutsize = stcb->asoc.streamoutcnt = stcb->asoc.pre_open_streams; in sctp_process_cmsgs_for_init()
3632 stcb->asoc.ss_functions.sctp_ss_init_stream(stcb, &stcb->asoc.strmout[i], NULL); in sctp_process_cmsgs_for_init()
6398 stcb->asoc.ss_functions.sctp_ss_add_to_stream(stcb, &stcb->asoc, strm, sp, 1); in sctp_msg_append()
10515 stcb->sctp_ep, stcb, NULL, in sctp_send_sack()
10518 stcb->sctp_ep, stcb, NULL); in sctp_send_sack()
10584 stcb->sctp_ep, stcb, NULL, in sctp_send_sack()
10587 stcb->sctp_ep, stcb, NULL); in sctp_send_sack()
10974 stcb->sctp_ep->sctp_lport, stcb->rport, in sctp_send_shutdown_complete()
12160 stcb->asoc.ss_functions.sctp_ss_clear(stcb, &stcb->asoc, 0, 1); in sctp_send_str_reset_req()
12191 stcb->asoc.ss_functions.sctp_ss_init(stcb, &stcb->asoc, 1); in sctp_send_str_reset_req()
[all …]
H A Dsctputil.h63 #define sctp_get_associd(stcb) ((sctp_assoc_t)stcb->asoc.assoc_id) argument
122 struct sctp_tcb *stcb,
158 struct sctp_tcb *stcb, int waitflags);
260 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
265 stcb->sctp_socket->so_snd.sb_cc = 0; \
273 #define sctp_free_spbufspace(stcb, asoc, sp) \ argument
281 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
286 stcb->sctp_socket->so_snd.sb_cc = 0; \
292 #define sctp_snd_sb_alloc(stcb, sz) \ argument
295 if ((stcb->sctp_socket != NULL) && \
[all …]
H A Dsctp_pcb.c1594 return (stcb); in sctp_findassociation_ep_asocid()
2016 return (stcb); in sctp_findassociation_addr_sa()
2230 if (stcb) { in sctp_findassociation_addr()
2270 return (stcb); in sctp_findassociation_addr()
2375 return (stcb); in sctp_findassociation_ep_asconf()
3927 stcb, in sctp_add_remote_addr()
4306 memset(stcb, 0, sizeof(*stcb)); in sctp_aloc_assoc()
4393 return (stcb); in sctp_aloc_assoc()
4432 stcb->sctp_ep, stcb, NULL); in sctp_remove_net()
4748 if (sq->stcb == stcb) { in sctp_free_assoc()
[all …]
H A Dsctp_ss_functions.c58 SCTP_TCB_SEND_LOCK(stcb); in sctp_ss_default_init()
69 stcb->asoc.ss_functions.sctp_ss_add_to_stream(stcb, &stcb->asoc, in sctp_ss_default_init()
70 &stcb->asoc.strmout[i], in sctp_ss_default_init()
74 SCTP_TCB_SEND_UNLOCK(stcb); in sctp_ss_default_init()
84 SCTP_TCB_SEND_LOCK(stcb); in sctp_ss_default_clear()
96 SCTP_TCB_SEND_UNLOCK(stcb); in sctp_ss_default_clear()
123 SCTP_TCB_SEND_LOCK(stcb); in sctp_ss_default_add()
154 SCTP_TCB_SEND_LOCK(stcb); in sctp_ss_default_remove()
310 SCTP_TCB_SEND_LOCK(stcb); in sctp_ss_rr_add()
400 SCTP_TCB_SEND_LOCK(stcb); in sctp_ss_prio_clear()
[all …]
H A Dsctp_auth.c1147 if (stcb == NULL) in sctp_clear_cachedkeys()
1175 SCTP_TCB_LOCK(stcb); in sctp_clear_cachedkeys_ep()
1190 if (stcb == NULL) in sctp_delete_sharedkey()
1303 if (stcb == NULL) in sctp_deact_sharedkey()
1483 sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.assoc_keyid); in sctp_auth_get_cookie_params()
1484 sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.recv_keyid); in sctp_auth_get_cookie_params()
1487 stcb->asoc.peer_hmac_id = sctp_negotiate_hmacid(stcb->asoc.peer_hmacs, in sctp_auth_get_cookie_params()
1492 stcb->asoc.authinfo.active_keyid = stcb->sctp_ep->sctp_ep.default_keyid; in sctp_auth_get_cookie_params()
1717 if ((stcb == NULL) || in sctp_notify_authentication()
1751 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_authentication()
[all …]
H A Dsctp_peeloff.c54 struct sctp_tcb *stcb; in sctp_can_peel_off() local
72 if (stcb == NULL) { in sctp_can_peel_off()
76 state = SCTP_GET_STATE(stcb); in sctp_can_peel_off()
79 SCTP_TCB_UNLOCK(stcb); in sctp_can_peel_off()
83 SCTP_TCB_UNLOCK(stcb); in sctp_can_peel_off()
92 struct sctp_tcb *stcb; in sctp_do_peeloff() local
101 if (stcb == NULL) { in sctp_do_peeloff()
106 state = SCTP_GET_STATE(stcb); in sctp_do_peeloff()
109 SCTP_TCB_UNLOCK(stcb); in sctp_do_peeloff()
152 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_do_peeloff()
[all …]
H A Dsctp_cc_functions.c101 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_set_initial_cc_param()
199 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_after_fr()
231 stcb->sctp_ep, stcb, net, in sctp_cwnd_update_after_fr()
234 stcb->sctp_ep, stcb, net); in sctp_cwnd_update_after_fr()
1005 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_exit_pf_common()
1076 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_timeout()
1255 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_packet_dropped()
1731 stcb->sctp_ep, stcb, net, in sctp_hs_cwnd_update_after_fr()
1734 stcb->sctp_ep, stcb, net); in sctp_hs_cwnd_update_after_fr()
2264 stcb->sctp_ep, stcb, net, in sctp_htcp_cwnd_update_after_fr()
[all …]
H A Dsctp_sysctl.c199 if (stcb) { in sctp_sysctl_copy_out_local_addresses()
238 if (stcb) { in sctp_sysctl_copy_out_local_addresses()
308 if (stcb && sctp_is_addr_restricted(stcb, laddr->ifa)) in sctp_sysctl_copy_out_local_addresses()
353 struct sctp_tcb *stcb; in sctp_sysctl_handle_assoclist() local
443 SCTP_TCB_LOCK(stcb); in sctp_sysctl_handle_assoclist()
445 SCTP_TCB_UNLOCK(stcb); in sctp_sysctl_handle_assoclist()
460 xstcb.T1_expireries = stcb->asoc.timoinit + stcb->asoc.timocookie; in sctp_sysctl_handle_assoclist()
461 xstcb.T2_expireries = stcb->asoc.timoshutdown + stcb->asoc.timoshutdownack; in sctp_sysctl_handle_assoclist()
469 xstcb.local_tag = stcb->asoc.my_vtag; in sctp_sysctl_handle_assoclist()
475 xstcb.mtu = stcb->asoc.smallest_mtu; in sctp_sysctl_handle_assoclist()
[all …]
H A Dsctp_auth.h150 extern void sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t keyid);
152 sctp_auth_key_release(struct sctp_tcb *stcb, uint16_t keyid,
194 extern void sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid);
196 extern int sctp_delete_sharedkey(struct sctp_tcb *stcb, uint16_t keyid);
198 extern int sctp_auth_setactivekey(struct sctp_tcb *stcb, uint16_t keyid);
200 extern int sctp_deact_sharedkey(struct sctp_tcb *stcb, uint16_t keyid);
204 sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m,
212 struct sctp_tcb *stcb, uint8_t chunk);
214 sctp_handle_auth(struct sctp_tcb *stcb, struct sctp_auth_chunk *ch,
217 sctp_notify_authentication(struct sctp_tcb *stcb,
[all …]
H A Dsctp_structs.h137 struct sctp_tcb *stcb; /* current* assoc */ member
471 struct sctp_tcb *stcb; /* assoc, used for window update */ member
652 void *stcb; member
700 void (*sctp_cwnd_update_after_sack) (struct sctp_tcb *stcb,
704 void (*sctp_cwnd_update_after_fr) (struct sctp_tcb *stcb,
706 void (*sctp_cwnd_update_after_timeout) (struct sctp_tcb *stcb,
708 void (*sctp_cwnd_update_after_ecn_echo) (struct sctp_tcb *stcb,
713 void (*sctp_cwnd_update_after_output) (struct sctp_tcb *stcb,
715 void (*sctp_cwnd_update_packet_transmitted) (struct sctp_tcb *stcb,
719 void (*sctp_cwnd_new_transmission_begins) (struct sctp_tcb *stcb,
[all …]
H A Dsctp_indata.h44 sctp_build_readq_entry(struct sctp_tcb *stcb,
68 (_ctl)->stcb = (in_it); \
83 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc);
86 sctp_express_handle_sack(struct sctp_tcb *stcb, uint32_t cumack,
91 struct sctp_tcb *stcb,
113 void sctp_slide_mapping_arrays(struct sctp_tcb *stcb);
H A Dsctp_output.h47 struct sctp_tcb *stcb,
65 struct sctp_tcb *stcb,
100 sctp_remove_from_wheel(struct sctp_tcb *stcb,
128 void sctp_move_chunks_from_net(struct sctp_tcb *stcb, struct sctp_nets *net);
130 #define SCTP_DATA_CHUNK_OVERHEAD(stcb) ((stcb)->asoc.idata_supported ? \ argument
H A Dsctp_input.h52 sctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq,
56 sctp_reset_in_stream(struct sctp_tcb *stcb, uint32_t number_entries,
59 int sctp_is_there_unsent_data(struct sctp_tcb *stcb, int so_locked);
H A Dsctp_os_bsd.h181 #define SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, file, err) \ argument
184 m, inp, stcb, net, file, __LINE__, err);
185 #define SCTP_LTRACE_ERR_RET(inp, stcb, net, file, err) \ argument
188 inp, stcb, net, file, __LINE__, err);
190 #define SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, file, err) argument
191 #define SCTP_LTRACE_ERR_RET(inp, stcb, net, file, err) argument
414 #define SCTP_IP_OUTPUT(result, o_pak, ro, stcb, vrf_id) \ argument
417 struct sctp_tcb *local_stcb = stcb; \
426 #define SCTP_IP6_OUTPUT(result, o_pak, ro, ifp, stcb, vrf_id) \ argument
428 struct sctp_tcb *local_stcb = stcb; \
H A Dsctp_asconf.h67 struct sctp_tcb *stcb,
85 sctp_asconf_send_nat_state_update(struct sctp_tcb *stcb,
H A Dsctp_uio.h795 void *stcb; /* FIXME: LP64 issue */ member
804 void *stcb; /* FIXME: LP64 issue */ member
863 void *stcb; /* FIXME: LP64 issue */ member
871 void *stcb; /* FIXME: LP64 issue */ member
891 void *stcb; /* FIXME: LP64 issue */ member
/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c198 SCTP_TCB_UNLOCK(stcb); in sctp6_notify()
255 struct sctp_tcb *stcb; in sctp6_ctlinput() local
325 if ((stcb != NULL) && in sctp6_ctlinput()
385 if (stcb) { in sctp6_ctlinput()
403 struct sctp_tcb *stcb; in sctp6_getcred() local
875 if (stcb) { in sctp6_connect()
885 if (stcb == NULL) { in sctp6_connect()
892 if (stcb != NULL) { in sctp6_connect()
905 if (stcb == NULL) { in sctp6_connect()
1054 if (stcb) { in sctp6_peeraddr()
[all …]
/f-stack/tools/compat/include/netinet/
H A Dsctp_uio.h795 void *stcb; /* FIXME: LP64 issue */ member
804 void *stcb; /* FIXME: LP64 issue */ member
863 void *stcb; /* FIXME: LP64 issue */ member
871 void *stcb; /* FIXME: LP64 issue */ member
891 void *stcb; /* FIXME: LP64 issue */ member

12