/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_peeloff.c | 140 if (n_inp->sctp_ep.local_hmacs) in sctp_do_peeloff() 141 sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs); in sctp_do_peeloff() 142 n_inp->sctp_ep.local_hmacs = in sctp_do_peeloff() 143 sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_do_peeloff() 144 if (n_inp->sctp_ep.local_auth_chunks) in sctp_do_peeloff() 145 sctp_free_chunklist(n_inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff() 146 n_inp->sctp_ep.local_auth_chunks = in sctp_do_peeloff() 147 sctp_copy_chunklist(inp->sctp_ep.local_auth_chunks); in sctp_do_peeloff() 148 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff() 149 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff() [all …]
|
D | sctp_indata.c | 399 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || in sctp_service_reassembly() 453 sctp_add_to_readq(stcb->sctp_ep, in sctp_service_reassembly() 463 if (sctp_append_to_readq(stcb->sctp_ep, stcb, in sctp_service_reassembly() 541 sctp_add_to_readq(stcb->sctp_ep, stcb, in sctp_service_reassembly() 617 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_INDATA+SCTP_LOC_1; in sctp_queue_data_to_stream() 618 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_NOT_LOCKED); in sctp_queue_data_to_stream() 635 sctp_add_to_readq(stcb->sctp_ep, stcb, in sctp_queue_data_to_stream() 658 sctp_add_to_readq(stcb->sctp_ep, stcb, in sctp_queue_data_to_stream() 803 stcb->sctp_ep->partial_delivery_point); in sctp_deliver_reasm_check() 805 pd_point = stcb->sctp_ep->partial_delivery_point; in sctp_deliver_reasm_check() [all …]
|
D | sctp_input.c | 80 stcb->sctp_ep, in sctp_stop_all_cookie_timers() 85 stcb->sctp_ep, in sctp_stop_all_cookie_timers() 479 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_NOT_LOCKED); in sctp_process_init_ack() 500 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_process_init_ack() 543 sctp_timer_stop(SCTP_TIMER_TYPE_INIT, stcb->sctp_ep, stcb, in sctp_process_init_ack() 578 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_process_init_ack() 685 …sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net, SCTP_FROM_SCTP_INPUT + SCTP… in sctp_handle_heartbeat_ack() 686 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net); in sctp_handle_heartbeat_ack() 706 …sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net, SCTP_FROM_SCTP_INPUT + SCTP… in sctp_handle_heartbeat_ack() 707 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net); in sctp_handle_heartbeat_ack() [all …]
|
D | sctputil.c | 532 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) in sctp_wakeup_log() 534 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEOUTPUT) in sctp_wakeup_log() 536 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEINPUT) in sctp_wakeup_log() 937 x = sctp_select_initial_TSN(&inp->sctp_ep); in sctp_select_a_tag() 973 asoc->max_burst = inp->sctp_ep.max_burst; in sctp_init_asoc() 974 asoc->fr_max_burst = inp->sctp_ep.fr_max_burst; in sctp_init_asoc() 975 asoc->heart_beat_delay = TICKS_TO_MSEC(inp->sctp_ep.sctp_timeoutticks[SCTP_TIMER_HEARTBEAT]); in sctp_init_asoc() 976 asoc->cookie_life = inp->sctp_ep.def_cookie_life; in sctp_init_asoc() 988 asoc->default_dscp = inp->sctp_ep.default_dscp; in sctp_init_asoc() 990 if (inp->sctp_ep.default_flowlabel) { in sctp_init_asoc() [all …]
|
D | sctp_asconf.c | 265 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, stcb->sctp_ep, stcb, net); in sctp_process_asconf_add_ip() 266 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, in sctp_process_asconf_add_ip() 554 if ((sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 556 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 558 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 563 …sctp_timer_stop(SCTP_TIMER_TYPE_PRIM_DELETED, stcb->sctp_ep, stcb, NULL, SCTP_FROM_SCTP_TIMER+SCTP… in sctp_process_asconf_set_primary() 564 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 569 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_process_asconf_set_primary() 574 sctp_delete_prim_timer(stcb->sctp_ep, stcb, in sctp_process_asconf_set_primary() 939 sctp_timer_stop(SCTP_TIMER_TYPE_ASCONF, stcb->sctp_ep, stcb, net, in sctp_asconf_cleanup() [all …]
|
D | sctputil.h | 302 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \ 303 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \ 323 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \ 324 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \ 338 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \ 339 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
|
D | sctp_usrreq.c | 1255 stcb->sctp_ep, stcb, netp); 1257 stcb->sctp_ep, stcb, netp); 1258 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_T3, SCTP_SO_LOCKED); 1279 sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, 1299 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_USRREQ+SCTP_LOC_4; 1457 stcb->sctp_ep, stcb, netp); 1459 stcb->sctp_ep, stcb, netp); 1460 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_T3, SCTP_SO_LOCKED); 1475 sctp_timer_start(SCTP_TIMER_TYPE_SHUTDOWNGUARD, stcb->sctp_ep, stcb, 1497 stcb->sctp_ep->last_abort_code = SCTP_FROM_SCTP_USRREQ+SCTP_LOC_6; [all …]
|
D | sctp_pcb.c | 967 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { 998 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, 1020 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, 1078 LIST_FOREACH(laddr, &stcb->sctp_ep->sctp_addr_list, sctp_nxt_addr) { 1526 SCTP_INP_RLOCK(locked_tcb->sctp_ep); 1529 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep); 1547 SCTP_INP_RLOCK(locked_tcb->sctp_ep); 1550 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep); 1860 if (inp != stcb->sctp_ep) { 2517 SCTP_INP_RLOCK(stcb->sctp_ep); [all …]
|
D | sctp_auth.c | 1293 if (keyid == inp->sctp_ep.default_keyid) 1297 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); 1350 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); 1355 inp->sctp_ep.default_keyid = keyid; 1406 if (keyid == inp->sctp_ep.default_keyid) 1410 skey = sctp_find_sharedkey(&inp->sctp_ep.shared_keys, keyid); 1554 stcb->asoc.authinfo.active_keyid = stcb->sctp_ep->sctp_ep.default_keyid; 1556 (void)sctp_copy_skeylist(&stcb->sctp_ep->sctp_ep.shared_keys, 1786 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || 1787 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || [all …]
|
D | sctp_cc_functions.c | 90 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_set_initial_cc_param() 184 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_after_fr() 217 stcb->sctp_ep, stcb, net, SCTP_FROM_SCTP_INDATA+SCTP_LOC_32 ); in sctp_cwnd_update_after_fr() 219 stcb->sctp_ep, stcb, net); in sctp_cwnd_update_after_fr() 657 vtag = (rtt << 32) | (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | (stcb->rport); in cc_bw_limit() 867 (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | in sctp_cwnd_update_after_sack_common() 971 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_sack_common() 1034 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_sack_common() 1074 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_exit_pf_common() 1148 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_timeout() [all …]
|
D | sctp_timer.c | 123 …sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, net, SCTP_FROM_SCTP_TIMER + SCTP_L… in sctp_threshold_management() 124 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, net); in sctp_threshold_management() 262 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); in sctp_find_alternate_net() 305 rndval = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep); in sctp_find_alternate_net() 976 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, lchk->whoTo); 1579 stcb->sctp_ep, stcb, 1582 stcb->sctp_ep, stcb,
|
D | sctp_output.c | 2928 sctp_is_mobility_feature_on(stcb->sctp_ep, SCTP_MOBILITY_BASE)) { in sctp_select_nth_preferred_addr_from_ifn_boundall() 2938 sctp_is_mobility_feature_on(stcb->sctp_ep, SCTP_MOBILITY_BASE)) { in sctp_select_nth_preferred_addr_from_ifn_boundall() 4174 tos_value = inp->sctp_ep.default_dscp; 4532 flowlabel = inp->sctp_ep.default_flowlabel; 5134 if (inp->sctp_ep.adaptation_layer_indicator_provided) { 5139 ali->indication = htonl(inp->sctp_ep.adaptation_layer_indicator); 5955 stc.cookie_life = inp->sctp_ep.def_cookie_life; 6256 itsn = sctp_select_initial_TSN(&inp->sctp_ep); 6264 initack->init.initial_tsn = htonl(sctp_select_initial_TSN(&inp->sctp_ep)); 6287 if (asoc->streamoutcnt > inp->sctp_ep.pre_open_stream_count) { [all …]
|
D | sctp_process_lock.h | 249 …if(SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) sctp_log_lock(_tcb->sctp_ep, _… 408 …if(SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) sctp_log_lock(_tcb->sctp_ep, _…
|
D | sctp_pcb.h | 468 struct sctp_pcb sctp_ep;/* SCTP ep data */ member 602 struct sctp_inpcb *sctp_ep; /* back pointer to ep */ member
|
D | sctp_os_userspace.h | 1082 if (stcb && stcb->sctp_ep) \ 1084 ((struct in6pcb *)(stcb->sctp_ep))->in6p_outputopts, \
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 1314 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) { 1315 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED;
|