Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_peeloff.c139 if (n_inp->sctp_ep.local_hmacs) in sctp_do_peeloff()
140 sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
141 n_inp->sctp_ep.local_hmacs = in sctp_do_peeloff()
142 sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
143 if (n_inp->sctp_ep.local_auth_chunks) in sctp_do_peeloff()
144 sctp_free_chunklist(n_inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff()
145 n_inp->sctp_ep.local_auth_chunks = in sctp_do_peeloff()
146 sctp_copy_chunklist(inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff()
147 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff()
148 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff()
[all …]
Dsctp_indata.c474 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_INDATA + SCTP_LOC_1; in sctp_abort_in_reasm()
475 sctp_abort_an_association(stcb->sctp_ep, stcb, oper, SCTP_SO_NOT_LOCKED); in sctp_abort_in_reasm()
562 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_INDATA + SCTP_LOC_2; in sctp_queue_data_to_stream()
563 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_NOT_LOCKED); in sctp_queue_data_to_stream()
576 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_queue_data_to_stream()
582 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_queue_data_to_stream()
605 sctp_add_to_readq(stcb->sctp_ep, stcb, in sctp_queue_data_to_stream()
645 sctp_add_to_readq(stcb->sctp_ep, stcb, in sctp_queue_data_to_stream()
670 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_INDATA + SCTP_LOC_3; in sctp_queue_data_to_stream()
671 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_NOT_LOCKED); in sctp_queue_data_to_stream()
[all …]
Dsctputil.c547 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) in sctp_wakeup_log()
549 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEOUTPUT) in sctp_wakeup_log()
551 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEINPUT) in sctp_wakeup_log()
883 inp = stcb->sctp_ep; in sctp_stop_timers_for_shutdown()
907 inp = stcb->sctp_ep; in sctp_stop_association_timers()
1089 x = sctp_select_initial_TSN(&inp->sctp_ep); in sctp_select_a_tag()
1168 asoc->max_burst = inp->sctp_ep.max_burst; in sctp_init_asoc()
1169 asoc->fr_max_burst = inp->sctp_ep.fr_max_burst; in sctp_init_asoc()
1170 asoc->heart_beat_delay = sctp_ticks_to_msecs(inp->sctp_ep.sctp_timeoutticks[SCTP_TIMER_HEARTBEAT]); in sctp_init_asoc()
1171 asoc->cookie_life = inp->sctp_ep.def_cookie_life; in sctp_init_asoc()
[all …]
Dsctp_input.c80 stcb->sctp_ep, in sctp_stop_all_cookie_timers()
85 stcb->sctp_ep, in sctp_stop_all_cookie_timers()
481 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_NOT_LOCKED); in sctp_process_init_ack()
506 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_process_init_ack()
538 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_process_init_ack()
581 sctp_timer_stop(SCTP_TIMER_TYPE_INIT, stcb->sctp_ep, stcb, in sctp_process_init_ack()
588 if (stcb->sctp_ep->recv_callback) { in sctp_process_init_ack()
593 inp = stcb->sctp_ep; in sctp_process_init_ack()
709 sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, in sctp_handle_heartbeat_ack()
711 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net); in sctp_handle_heartbeat_ack()
[all …]
Dsctp_asconf.c277 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, stcb->sctp_ep, stcb, net); in sctp_process_asconf_add_ip()
278 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, in sctp_process_asconf_add_ip()
579 if ((sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary()
581 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary()
583 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary()
589 stcb->sctp_ep, stcb, NULL, in sctp_process_asconf_set_primary()
591 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary()
596 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary()
601 sctp_delete_prim_timer(stcb->sctp_ep, stcb); in sctp_process_asconf_set_primary()
958 sctp_timer_stop(SCTP_TIMER_TYPE_ASCONF, stcb->sctp_ep, stcb, NULL, in sctp_asconf_cleanup()
[all …]
Dsctputil.h298 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
299 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
319 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
320 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
334 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
335 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
Dsctp_pcb.c964 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
995 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred,
1017 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred,
1075 LIST_FOREACH(laddr, &stcb->sctp_ep->sctp_addr_list, sctp_nxt_addr) {
1523 SCTP_INP_RLOCK(locked_tcb->sctp_ep);
1526 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep);
1544 SCTP_INP_RLOCK(locked_tcb->sctp_ep);
1547 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep);
1854 if (inp != stcb->sctp_ep) {
2508 SCTP_INP_RLOCK(stcb->sctp_ep);
[all …]
Dsctp_usrreq.c473 if (!(stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) &&
1153 stcb->sctp_ep, stcb, netp);
1155 stcb->sctp_ep, stcb, NULL);
1156 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_T3, SCTP_SO_LOCKED);
1170 sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, NULL);
1180 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_USRREQ + SCTP_LOC_4;
1362 stcb->sctp_ep, stcb, netp);
1378 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_USRREQ + SCTP_LOC_6;
1380 sctp_abort_an_association(stcb->sctp_ep, stcb,
1388 sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, NULL);
[all …]
Dsctp_auth.c1259 if (keyid == inp->sctp_ep.default_keyid)
1263 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid);
1316 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid);
1321 inp->sctp_ep.default_keyid = keyid;
1372 if (keyid == inp->sctp_ep.default_keyid)
1376 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid);
1523 stcb->asoc.authinfo.active_keyid = stcb->sctp_ep->sctp_ep.default_keyid;
1525 (void)sctp_copy_skeylist(&stcb->sctp_ep->sctp_ep.shared_keys,
1755 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) ||
1756 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) ||
[all …]
Dsctp_cc_functions.c106 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_set_initial_cc_param()
201 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_after_fr()
234 stcb->sctp_ep, stcb, net, in sctp_cwnd_update_after_fr()
237 stcb->sctp_ep, stcb, net); in sctp_cwnd_update_after_fr()
678 vtag = (rtt << 32) | (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | (stcb->rport); in cc_bw_limit()
888 (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | in sctp_cwnd_update_after_sack_common()
993 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_sack_common()
1057 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_sack_common()
1097 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_exit_pf_common()
1171 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_timeout()
[all …]
Dsctp_output.c2927 sctp_is_mobility_feature_on(stcb->sctp_ep, SCTP_MOBILITY_BASE)) { in sctp_select_nth_preferred_addr_from_ifn_boundall()
2937 sctp_is_mobility_feature_on(stcb->sctp_ep, SCTP_MOBILITY_BASE)) { in sctp_select_nth_preferred_addr_from_ifn_boundall()
4170 tos_value = inp->sctp_ep.default_dscp;
4543 flowlabel = inp->sctp_ep.default_flowlabel;
5152 if (inp->sctp_ep.adaptation_layer_indicator_provided) {
5157 ali->indication = htonl(inp->sctp_ep.adaptation_layer_indicator);
6065 stc.cookie_life = inp->sctp_ep.def_cookie_life;
6365 itsn = sctp_select_initial_TSN(&inp->sctp_ep);
6375 initack->init.initial_tsn = htonl(sctp_select_initial_TSN(&inp->sctp_ep));
6403 i_want = inp->sctp_ep.pre_open_stream_count;
[all …]
Dsctp_timer.c262 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
305 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
1000 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, lchk->whoTo);
1612 stcb->sctp_ep, stcb, net);
1614 stcb->sctp_ep, stcb, NULL);
Dsctp_process_lock.h242 sctp_log_lock(_tcb->sctp_ep, _tcb, SCTP_LOG_LOCK_TCB); \
456 sctp_log_lock(_tcb->sctp_ep, _tcb, SCTP_LOG_LOCK_TCB); \
469 sctp_log_lock(_tcb->sctp_ep, _tcb, SCTP_LOG_LOCK_TCB); \
Dsctp_pcb.h479 struct sctp_pcb sctp_ep;/* SCTP ep data */ member
599 struct sctp_inpcb *sctp_ep; /* back pointer to ep */ member
Dsctp_os_userspace.h1051 if (stcb && stcb->sctp_ep) \
1053 ((struct inpcb *)(stcb->sctp_ep))->in6p_outputopts, \
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c552 if (!(stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) &&
1245 inp->sctp_ep.pre_open_stream_count,
1246 inp->sctp_ep.port, p,
1253 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) {
1254 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED;