• Home
  • Raw
  • Download

Lines Matching refs:sctp_ep

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()
748 sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, in sctp_handle_heartbeat_ack()
750 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, r_net); in sctp_handle_heartbeat_ack()
761 if ((sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_handle_heartbeat_ack()
763 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_handle_heartbeat_ack()
765 sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_handle_heartbeat_ack()
769 stcb->sctp_ep, stcb, NULL, in sctp_handle_heartbeat_ack()
771 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_handle_heartbeat_ack()
776 if (sctp_is_mobility_feature_on(stcb->sctp_ep, in sctp_handle_heartbeat_ack()
781 sctp_delete_prim_timer(stcb->sctp_ep, stcb); in sctp_handle_heartbeat_ack()
798 new_vtag = sctp_select_a_tag(stcb->sctp_ep, stcb->sctp_ep->sctp_lport, stcb->rport, 1); in sctp_handle_nat_colliding_state()
815 sctp_send_initiate(stcb->sctp_ep, stcb, SCTP_SO_NOT_LOCKED); in sctp_handle_nat_colliding_state()
833 sctp_send_initiate(stcb->sctp_ep, stcb, SCTP_SO_NOT_LOCKED); in sctp_handle_nat_colliding_state()
897 sctp_timer_stop(SCTP_TIMER_TYPE_RECV, stcb->sctp_ep, stcb, NULL, in sctp_handle_abort()
911 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_handle_abort()
919 (void)sctp_free_assoc(stcb->sctp_ep, stcb, SCTP_NORMAL_PROC, in sctp_handle_abort()
943 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, stcb->sctp_ep, stcb, net); in sctp_start_net_timers()
944 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, net); in sctp_start_net_timers()
952 sctp_chunk_output(stcb->sctp_ep, stcb, in sctp_start_net_timers()
992 SCTP_INP_READ_LOCK(stcb->sctp_ep); in sctp_handle_shutdown()
1016 SCTP_INP_READ_UNLOCK(stcb->sctp_ep); in sctp_handle_shutdown()
1018 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_handle_shutdown()
1031 sctp_sorwakeup(stcb->sctp_ep, stcb->sctp_socket); in sctp_handle_shutdown()
1055 sctp_timer_stop(SCTP_TIMER_TYPE_SHUTDOWN, stcb->sctp_ep, stcb, in sctp_handle_shutdown()
1079 stcb->sctp_ep, stcb, net); in sctp_handle_shutdown()
1095 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_handle_shutdown_ack()
1121 SCTP_INP_READ_LOCK(stcb->sctp_ep); in sctp_handle_shutdown_ack()
1125 SCTP_INP_READ_UNLOCK(stcb->sctp_ep); in sctp_handle_shutdown_ack()
1138 sctp_sorwakeup(stcb->sctp_ep, stcb->sctp_socket); in sctp_handle_shutdown_ack()
1151 sctp_timer_stop(SCTP_TIMER_TYPE_SHUTDOWN, stcb->sctp_ep, stcb, net, in sctp_handle_shutdown_ack()
1157 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_handle_shutdown_ack()
1158 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_handle_shutdown_ack()
1172 (void)sctp_free_assoc(stcb->sctp_ep, stcb, SCTP_NORMAL_PROC, in sctp_handle_shutdown_ack()
1324 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_handle_error()
1331 (void)sctp_free_assoc(stcb->sctp_ep, stcb, SCTP_NORMAL_PROC, in sctp_handle_error()
1342 sctp_send_initiate(stcb->sctp_ep, stcb, SCTP_SO_NOT_LOCKED); in sctp_handle_error()
1443 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_handle_init_ack()
1457 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_handle_init_ack()
1469 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_handle_init_ack()
1481 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_handle_init_ack()
1493 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, in sctp_handle_init_ack()
1547 sctp_timer_start(SCTP_TIMER_TYPE_COOKIE, stcb->sctp_ep, in sctp_handle_init_ack()
1732 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_existing()
1736 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_process_cookie_existing()
1737 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_process_cookie_existing()
1748 stcb->sctp_ep->sctp_flags |= in sctp_process_cookie_existing()
1751 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_process_cookie_existing()
1934 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_process_cookie_existing()
1935 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_process_cookie_existing()
1940 stcb->sctp_ep->sctp_flags |= in sctp_process_cookie_existing()
1943 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_process_cookie_existing()
1972 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_existing()
2043 stcb->sctp_ep, stcb, NULL); in sctp_process_cookie_existing()
2070 so = SCTP_INP_SO(stcb->sctp_ep); in sctp_process_cookie_existing()
2074 SCTP_INP_WLOCK(stcb->sctp_ep); in sctp_process_cookie_existing()
2113 SCTP_INP_WUNLOCK(stcb->sctp_ep); in sctp_process_cookie_existing()
2475 stcb->sctp_ep, stcb, NULL);
2483 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
2484 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) &&
2494 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED;
2510 } else if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) &&
2656 ep = &(*inp_p)->sctp_ep;
2861 SCTP_INP_INCR_REF((*stcb)->sctp_ep);
2862 if ((*stcb)->sctp_ep != l_inp) {
2864 (void *)(*stcb)->sctp_ep, (void *)l_inp);
3058 if (inp->sctp_ep.local_hmacs)
3059 sctp_free_hmaclist(inp->sctp_ep.local_hmacs);
3060 inp->sctp_ep.local_hmacs =
3061 sctp_copy_hmaclist((*inp_p)->sctp_ep.local_hmacs);
3062 if (inp->sctp_ep.local_auth_chunks)
3063 sctp_free_chunklist(inp->sctp_ep.local_auth_chunks);
3064 inp->sctp_ep.local_auth_chunks =
3065 sctp_copy_chunklist((*inp_p)->sctp_ep.local_auth_chunks);
3171 stcb->sctp_ep, stcb, NULL);
3183 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
3184 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
3189 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED;
3191 so = SCTP_INP_SO(stcb->sctp_ep);
3218 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep,
3223 sctp_is_feature_on(stcb->sctp_ep, SCTP_PCB_FLAGS_AUTOCLOSE)) {
3225 stcb->sctp_ep, stcb, NULL);
3232 if ((sctp_is_feature_on(stcb->sctp_ep, SCTP_PCB_FLAGS_DO_ASCONF)) &&
3237 stcb->sctp_ep, stcb,
3255 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, chk->whoTo);
3451 sctp_timer_stop(SCTP_TIMER_TYPE_SHUTDOWNACK, stcb->sctp_ep, stcb, net,
3458 so = SCTP_INP_SO(stcb->sctp_ep);
3465 (void)sctp_free_assoc(stcb->sctp_ep, stcb, SCTP_NORMAL_PROC,
3573 sctp_timer_stop(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep,
3576 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep,
3642 sctp_timer_stop(SCTP_TIMER_TYPE_INIT, stcb->sctp_ep,
3645 sctp_send_initiate(stcb->sctp_ep, stcb, SCTP_SO_NOT_LOCKED);
3844 sctp_timer_stop(SCTP_TIMER_TYPE_STRRESET, stcb->sctp_ep, stcb,
4685 stcb->sctp_ep->sctp_ep.sctp_sws_sender) {
5116 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_CONTROL_PROC, SCTP_SO_NOT_LOCKED);
5431 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, chk->whoTo);
5903 !(stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) &&
5929 inp = stcb->sctp_ep;
6006 !(stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) &&