Searched refs:SCTP_GET_STATE (Results 1 – 10 of 10) sorted by relevance
150 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_handle_init()682 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_handle_nat_colliding_state()683 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_handle_nat_colliding_state()693 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) { in sctp_handle_nat_colliding_state()791 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_handle_abort()792 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_handle_abort()874 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_handle_shutdown()875 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_handle_shutdown()882 old_state = SCTP_GET_STATE(stcb); in sctp_handle_shutdown()892 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_RECEIVED) && in sctp_handle_shutdown()[all …]
73 state = SCTP_GET_STATE(stcb); in sctp_can_peel_off()103 state = SCTP_GET_STATE(stcb); in sctp_do_peeloff()
968 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED) { in sctp_t3rxt_timer()1015 if (SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT) { in sctp_t1init_timer()1063 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED) { in sctp_cookie_timer()1075 …SCTP_PRINTF("Strange in state %d not cookie-echoed yet c-e timer expires?\n", SCTP_GET_STATE(stcb)… in sctp_cookie_timer()1564 if (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) { in sctp_autoclose_timer()1568 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_autoclose_timer()1569 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_autoclose_timer()
5546 (SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT)) { in sctp_send_initiate_ack()5854 ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_send_initiate_ack()5855 (SCTP_GET_STATE(stcb) == SCTP_STATE_INUSE) || in sctp_send_initiate_ack()5856 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED))) { in sctp_send_initiate_ack()6430 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) || in sctp_msg_append()6431 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_ACK_SENT) || in sctp_msg_append()6432 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED) || in sctp_msg_append()6756 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) && in sctp_sendall_iterator()6757 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_RECEIVED) && in sctp_sendall_iterator()6758 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_sendall_iterator()[all …]
2007 ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_addr_mgmt_assoc()2008 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED))) { in sctp_addr_mgmt_assoc()2243 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_asconf_iterator_stcb()2244 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_asconf_iterator_stcb()2305 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_set_primary_ip_address_sa()2306 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_set_primary_ip_address_sa()2862 SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) { in sctp_process_initack_addresses()
3264 if (((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_inpcb_free()3265 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) && in sctp_inpcb_free()3290 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_inpcb_free()3291 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_inpcb_free()3305 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) && in sctp_inpcb_free()3306 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_inpcb_free()3313 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_inpcb_free()3314 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_inpcb_free()3346 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_inpcb_free()3347 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_inpcb_free()[all …]
2568 if (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_sack_check()2920 if (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_process_data()4283 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) && in sctp_express_handle_sack()4288 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) && in sctp_express_handle_sack()4304 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_express_handle_sack()4305 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_express_handle_sack()4320 } else if ((SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED) && in sctp_express_handle_sack()4960 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) && in sctp_handle_sack()4965 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) && in sctp_handle_sack()4981 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_handle_sack()[all …]
684 if (SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT) { in sctp_disconnect()693 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_disconnect()694 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_disconnect()710 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) && in sctp_disconnect()711 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_disconnect()715 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_disconnect()716 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_disconnect()757 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_disconnect()758 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_disconnect()901 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT) && in sctp_shutdown()[all …]
3252 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) { in sctp_notify_assoc_change()4089 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_ulp_notify()4090 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_ulp_notify()4159 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_ulp_notify()4160 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_ulp_notify()4167 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_ulp_notify()4168 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_ulp_notify()4175 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_ulp_notify()4176 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_ulp_notify()4427 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_abort_association()[all …]
464 #define SCTP_GET_STATE(_stcb) \ macro