/external/usrsctp/usrsctplib/netinet/ |
D | sctp_peeloff.c | 143 if (n_inp->sctp_ep.local_hmacs) in sctp_do_peeloff() 144 sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs); in sctp_do_peeloff() 145 n_inp->sctp_ep.local_hmacs = in sctp_do_peeloff() 146 sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_do_peeloff() 147 if (n_inp->sctp_ep.local_auth_chunks) in sctp_do_peeloff() 148 sctp_free_chunklist(n_inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff() 149 n_inp->sctp_ep.local_auth_chunks = in sctp_do_peeloff() 150 sctp_copy_chunklist(inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff() 151 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff() 152 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff() [all …]
|
D | sctp_indata.c | 474 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 …]
|
D | sctputil.c | 555 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) in sctp_wakeup_log() 557 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEOUTPUT) in sctp_wakeup_log() 559 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEINPUT) in sctp_wakeup_log() 891 inp = stcb->sctp_ep; in sctp_stop_timers_for_shutdown() 915 inp = stcb->sctp_ep; in sctp_stop_association_timers() 1097 x = sctp_select_initial_TSN(&inp->sctp_ep); in sctp_select_a_tag() 1176 asoc->max_burst = inp->sctp_ep.max_burst; in sctp_init_asoc() 1177 asoc->fr_max_burst = inp->sctp_ep.fr_max_burst; in sctp_init_asoc() 1178 asoc->heart_beat_delay = sctp_ticks_to_msecs(inp->sctp_ep.sctp_timeoutticks[SCTP_TIMER_HEARTBEAT]); in sctp_init_asoc() 1179 asoc->cookie_life = inp->sctp_ep.def_cookie_life; in sctp_init_asoc() [all …]
|
D | sctp_input.c | 85 stcb->sctp_ep, in sctp_stop_all_cookie_timers() 90 stcb->sctp_ep, in sctp_stop_all_cookie_timers() 490 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_NOT_LOCKED); in sctp_process_init_ack() 515 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_process_init_ack() 547 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_process_init_ack() 590 sctp_timer_stop(SCTP_TIMER_TYPE_INIT, stcb->sctp_ep, stcb, in sctp_process_init_ack() 597 if (stcb->sctp_ep->recv_callback) { in sctp_process_init_ack() 602 inp = stcb->sctp_ep; in sctp_process_init_ack() 718 sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, in sctp_handle_heartbeat_ack() 720 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net); in sctp_handle_heartbeat_ack() [all …]
|
D | sctp_asconf.c | 281 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, stcb->sctp_ep, stcb, net); in sctp_process_asconf_add_ip() 282 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, in sctp_process_asconf_add_ip() 583 if ((sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 585 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 587 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 593 stcb->sctp_ep, stcb, NULL, in sctp_process_asconf_set_primary() 595 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 600 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 605 sctp_delete_prim_timer(stcb->sctp_ep, stcb); in sctp_process_asconf_set_primary() 962 sctp_timer_stop(SCTP_TIMER_TYPE_ASCONF, stcb->sctp_ep, stcb, NULL, in sctp_asconf_cleanup() [all …]
|
D | sctputil.h | 315 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \ 316 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \ 336 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \ 337 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \ 351 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \ 352 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
|
D | sctp_usrreq.c | 520 if (!(stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) && 1220 stcb->sctp_ep, stcb, netp); 1222 stcb->sctp_ep, stcb, NULL); 1223 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_T3, SCTP_SO_LOCKED); 1237 sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, NULL); 1247 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_USRREQ + SCTP_LOC_4; 1429 stcb->sctp_ep, stcb, netp); 1445 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_USRREQ + SCTP_LOC_6; 1447 sctp_abort_an_association(stcb->sctp_ep, stcb, 1455 sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, NULL); [all …]
|
D | sctp_pcb.c | 963 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { 994 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, 1016 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, 1074 LIST_FOREACH(laddr, &stcb->sctp_ep->sctp_addr_list, sctp_nxt_addr) { 1522 SCTP_INP_RLOCK(locked_tcb->sctp_ep); 1525 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep); 1543 SCTP_INP_RLOCK(locked_tcb->sctp_ep); 1546 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep); 1853 if (inp != stcb->sctp_ep) { 2507 SCTP_INP_RLOCK(stcb->sctp_ep); [all …]
|
D | sctp_auth.c | 1263 if (keyid == inp->sctp_ep.default_keyid) 1267 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); 1320 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); 1325 inp->sctp_ep.default_keyid = keyid; 1376 if (keyid == inp->sctp_ep.default_keyid) 1380 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); 1527 stcb->asoc.authinfo.active_keyid = stcb->sctp_ep->sctp_ep.default_keyid; 1529 (void)sctp_copy_skeylist(&stcb->sctp_ep->sctp_ep.shared_keys, 1763 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || 1764 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || [all …]
|
D | sctp_cc_functions.c | 106 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 …]
|
D | sctp_output.c | 2933 sctp_is_mobility_feature_on(stcb->sctp_ep, SCTP_MOBILITY_BASE)) { in sctp_select_nth_preferred_addr_from_ifn_boundall() 2943 sctp_is_mobility_feature_on(stcb->sctp_ep, SCTP_MOBILITY_BASE)) { in sctp_select_nth_preferred_addr_from_ifn_boundall() 4192 tos_value = inp->sctp_ep.default_dscp; 4577 flowlabel = inp->sctp_ep.default_flowlabel; 5199 if (inp->sctp_ep.adaptation_layer_indicator_provided) { 5204 ali->indication = htonl(inp->sctp_ep.adaptation_layer_indicator); 6113 stc.cookie_life = inp->sctp_ep.def_cookie_life; 6413 itsn = sctp_select_initial_TSN(&inp->sctp_ep); 6423 initack->init.initial_tsn = htonl(sctp_select_initial_TSN(&inp->sctp_ep)); 6451 i_want = inp->sctp_ep.pre_open_stream_count; [all …]
|
D | sctp_timer.c | 266 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); 309 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); 1004 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, lchk->whoTo); 1616 stcb->sctp_ep, stcb, net); 1618 stcb->sctp_ep, stcb, NULL);
|
D | sctp_process_lock.h | 242 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); \
|
D | sctp_pcb.h | 484 struct sctp_pcb sctp_ep;/* SCTP ep data */ member 622 struct sctp_inpcb *sctp_ep; /* back pointer to ep */ member
|
D | sctp_os_userspace.h | 1091 if (stcb && stcb->sctp_ep) \ 1093 ((struct inpcb *)(stcb->sctp_ep))->in6p_outputopts, \
|
/external/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 580 if (!(stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) && 1320 inp->sctp_ep.pre_open_stream_count, 1321 inp->sctp_ep.port, p, 1328 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) { 1329 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED;
|