Home
last modified time | relevance | path

Searched refs:sctp_ep (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_peeloff.c137 if (n_inp->sctp_ep.local_hmacs) in sctp_do_peeloff()
138 sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
139 n_inp->sctp_ep.local_hmacs = in sctp_do_peeloff()
140 sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
141 if (n_inp->sctp_ep.local_auth_chunks) in sctp_do_peeloff()
142 sctp_free_chunklist(n_inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff()
143 n_inp->sctp_ep.local_auth_chunks = in sctp_do_peeloff()
144 sctp_copy_chunklist(inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff()
145 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff()
146 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff()
H A Dsctp_indata.c2588 stcb->sctp_ep, stcb, NULL, in sctp_sack_check()
3958 if (asoc->peers_rwnd < stcb->sctp_ep->sctp_ep.sctp_sws_sender) { in sctp_express_handle_sack()
4178 stcb->sctp_ep, stcb, net, in sctp_express_handle_sack()
4212 if (asoc->peers_rwnd < stcb->sctp_ep->sctp_ep.sctp_sws_sender) { 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()
4348 stcb->sctp_ep, stcb, netp); in sctp_express_handle_sack()
4551 if (asoc->peers_rwnd < stcb->sctp_ep->sctp_ep.sctp_sws_sender) { in sctp_handle_sack()
4923 stcb->sctp_ep, stcb, net, in sctp_handle_sack()
4967 if (asoc->peers_rwnd < stcb->sctp_ep->sctp_ep.sctp_sws_sender) { in sctp_handle_sack()
[all …]
H A Dsctputil.c858 inp = stcb->sctp_ep; in sctp_stop_timers_for_shutdown()
882 inp = stcb->sctp_ep; in sctp_stop_association_timers()
1352 asoc->port = inp->sctp_ep.port; in sctp_init_asoc()
1743 type, stcb, stcb->sctp_ep)); in sctp_timeout_handler()
1934 inp->sctp_ep.last_secret_number = 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()
5386 SCTP_INP_INCR_REF(stcb->sctp_ep); in sctp_user_rcvd()
5443 SCTP_INP_READ_LOCK(stcb->sctp_ep); in sctp_user_rcvd()
5446 SCTP_INP_DECR_REF(stcb->sctp_ep); in sctp_user_rcvd()
[all …]
H A Dsctp_input.c72 stcb->sctp_ep, in sctp_stop_all_cookie_timers()
77 stcb->sctp_ep, in sctp_stop_all_cookie_timers()
686 stcb->sctp_ep, stcb, NULL, in sctp_handle_heartbeat_ack()
715 new_vtag = sctp_select_a_tag(stcb->sctp_ep, stcb->sctp_ep->sctp_lport, stcb->rport, 1); in sctp_handle_nat_colliding_state()
1570 stcb->sctp_ep->sctp_flags |= in sctp_process_cookie_existing()
1856 SCTP_INP_WLOCK(stcb->sctp_ep); in sctp_process_cookie_existing()
2371 ep = &(*inp_p)->sctp_ep; in sctp_handle_cookie_echo()
2714 inp->sctp_ep.local_hmacs = in sctp_handle_cookie_echo()
2866 stcb->sctp_ep, stcb, in sctp_handle_cookie_ack()
4321 stcb->sctp_ep->sctp_ep.sctp_sws_sender) { in sctp_handle_packet_dropped()
[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()
1020 SCTP_INP_DECR_REF(stcb->sctp_ep); in sctp_assoc_immediate_retrans()
1127 stcb->sctp_ep->def_vrf_id, in sctp_path_check_and_react()
1128 stcb->sctp_ep->fibnum); in sctp_path_check_and_react()
2313 stcb->sctp_ep, stcb, in sctp_set_primary_ip_address_sa()
2839 if ((sctp_is_feature_on(stcb->sctp_ep, in sctp_process_initack_addresses()
2852 stcb->sctp_ep, stcb, in sctp_process_initack_addresses()
3115 sctp_addr_mgmt_assoc(stcb->sctp_ep, stcb, in sctp_check_address_list_all()
3147 if (sctp_is_feature_on(stcb->sctp_ep, in sctp_check_address_list()
[all …]
H A Dsctputil.h260 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
261 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
281 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
282 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
296 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
297 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
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()
1432 inp->sctp_ep.port, in sctp_do_connect_x()
4448 if (inp->sctp_ep.local_hmacs)
5410 stcb->sctp_ep, stcb, net,
5455 stcb->sctp_ep, stcb, net,
5606 inp->sctp_ep.default_mtu = 0;
6415 stcb->sctp_ep, stcb, net,
6446 stcb->sctp_ep, stcb, net,
[all …]
H A Dsctp_pcb.c2530 m = &inp->sctp_ep; in sctp_inpcb_alloc()
2632 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key, in sctp_move_pcb_and_assoc()
2638 new_inp->sctp_ep.size_of_a_cookie = old_inp->sctp_ep.size_of_a_cookie; in sctp_move_pcb_and_assoc()
2642 stcb->sctp_ep = new_inp; in sctp_move_pcb_and_assoc()
4313 stcb->sctp_ep = inp; in sctp_aloc_assoc()
4402 inp = stcb->sctp_ep; in sctp_remove_net()
5228 inp = stcb->sctp_ep; in sctp_destination_is_reachable()
5507 inp = stcb->sctp_ep; in sctp_del_local_addr_restricted()
6063 inp = stcb->sctp_ep; in sctp_load_addresses_from_init()
6146 inp = stcb->sctp_ep; in sctp_load_addresses_from_init()
[all …]
H A Dsctp_auth.c1228 if (keyid == inp->sctp_ep.default_keyid) in sctp_delete_sharedkey_ep()
1232 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); in sctp_delete_sharedkey_ep()
1285 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); in sctp_auth_setactivekey_ep()
1290 inp->sctp_ep.default_keyid = keyid; in sctp_auth_setactivekey_ep()
1341 if (keyid == inp->sctp_ep.default_keyid) in sctp_deact_sharedkey_ep()
1345 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); in sctp_deact_sharedkey_ep()
1492 stcb->asoc.authinfo.active_keyid = stcb->sctp_ep->sctp_ep.default_keyid; in sctp_auth_get_cookie_params()
1494 (void)sctp_copy_skeylist(&stcb->sctp_ep->sctp_ep.shared_keys, in sctp_auth_get_cookie_params()
1762 sctp_add_to_readq(stcb->sctp_ep, stcb, control, in sctp_notify_authentication()
1931 sctp_copy_chunklist(inp->sctp_ep.local_auth_chunks); in sctp_initialize_auth_params()
[all …]
H A Dsctp_os_bsd.h419 local_stcb->sctp_ep && \
420 local_stcb->sctp_ep->sctp_socket) \
421 o_flgs |= local_stcb->sctp_ep->sctp_socket->so_options & SO_DONTROUTE; \
430 if (local_stcb && local_stcb->sctp_ep) \
432 ((struct inpcb *)(local_stcb->sctp_ep))->in6p_outputopts, \
H A Dsctp_cc_functions.c231 stcb->sctp_ep, stcb, net, in sctp_cwnd_update_after_fr()
234 stcb->sctp_ep, stcb, net); in sctp_cwnd_update_after_fr()
807 (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | in sctp_cwnd_update_after_sack_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()
1278 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_output()
1411 (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | in sctp_set_rtcc_initial_cc_param()
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_timer.c266 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); in sctp_find_alternate_net()
310 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); in sctp_find_alternate_net()
994 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, lchk->whoTo); in sctp_t3rxt_timer()
1588 stcb->sctp_ep, stcb, net); in sctp_autoclose_timer()
1590 stcb->sctp_ep, stcb, NULL); in sctp_autoclose_timer()
H A Dsctp_output.c4025 tos_value = inp->sctp_ep.default_dscp; in sctp_lowlevel_chunk_output()
6095 (uint8_t *)inp->sctp_ep.secret_key[(int)(inp->sctp_ep.current_secret_number)], in sctp_send_initiate_ack()
7016 if (asoc->peers_rwnd < stcb->sctp_ep->sctp_ep.sctp_sws_sender) { in sctp_clean_up_datalist()
9857 if (asoc->peers_rwnd < stcb->sctp_ep->sctp_ep.sctp_sws_sender) { in sctp_chunk_retransmission()
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()
11326 …t_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); in sctp_send_hb()
11327 …t_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); in sctp_send_hb()
[all …]
H A Dsctp_pcb.h389 struct sctp_pcb sctp_ep; /* SCTP ep data */ member
446 struct sctp_inpcb *sctp_ep; /* back pointer to ep */ member
H A Dsctp_lock_bsd.h365 sctp_log_lock(_tcb->sctp_ep, _tcb, SCTP_LOG_LOCK_TCB); \
/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c901 inp->sctp_ep.pre_open_stream_count, in sctp6_connect()
902 inp->sctp_ep.port, p, in sctp6_connect()
909 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) { in sctp6_connect()
910 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED; in sctp6_connect()