Searched refs:SCTP_GET_STATE (Results 1 – 11 of 11) sorted by relevance
217 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_handle_init()750 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_WAIT) { in sctp_handle_nat_colliding_state()760 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED) { in sctp_handle_nat_colliding_state()844 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) || in sctp_handle_abort()845 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_handle_abort()914 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_WAIT) || in sctp_handle_shutdown()915 (SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_handle_shutdown()956 if ((SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_RECEIVED) && in sctp_handle_shutdown()957 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT) && in sctp_handle_shutdown()958 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT)) { in sctp_handle_shutdown()[all …]
959 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED) {1001 if (SCTP_GET_STATE((&stcb->asoc)) != SCTP_STATE_COOKIE_WAIT) {1049 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED) {1061 …SCTP_PRINTF("Strange in state %d not cookie-echoed yet c-e timer expires?\n", SCTP_GET_STATE(&stcb…1561 if (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) {1565 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||1566 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
80 state = SCTP_GET_STATE((&stcb->asoc)); in sctp_can_peel_off()110 state = SCTP_GET_STATE((&stcb->asoc)); in sctp_do_peeloff()
5885 (SCTP_GET_STATE(asoc) != SCTP_STATE_COOKIE_WAIT) &&6231 ((SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_WAIT) ||6232 (SCTP_GET_STATE(asoc) == SCTP_STATE_INUSE) ||6233 (SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_ECHOED))) {6750 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_SENT) ||6751 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_ACK_SENT) ||6752 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED) ||7093 if ((SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) &&7094 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_RECEIVED) &&7095 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {[all …]
3965 if (((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_COOKIE_WAIT) ||3966 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_COOKIE_ECHOED)) &&3994 if ((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_OPEN) ||3995 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4009 if ((SCTP_GET_STATE(&asoc->asoc) != SCTP_STATE_SHUTDOWN_SENT) &&4010 (SCTP_GET_STATE(&asoc->asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {4017 if ((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_OPEN) ||4018 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4064 if ((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_OPEN) ||4065 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {[all …]
2006 SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_addr_mgmt_assoc()2258 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_asconf_iterator_stcb()2319 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_set_primary_ip_address_sa()2355 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_set_primary_ip_address()2892 SCTP_GET_STATE(&stcb->asoc) == in sctp_process_initack_addresses()
487 #define SCTP_GET_STATE(asoc) ((asoc)->state & SCTP_STATE_MASK) macro
2172 if (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_sack_check()2588 if (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_process_data()4023 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||4024 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4041 } else if ((SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED) &&4760 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||4761 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4779 } else if ((SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED) &&
1199 if (SCTP_GET_STATE(asoc) !=1221 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||1222 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {1236 if ((SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) &&1237 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {1241 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||1242 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {1302 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||1303 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {1439 if (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) {[all …]
2808 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_WAIT) { in sctp_notify_assoc_change()2816 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_WAIT) || in sctp_notify_assoc_change()2817 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_notify_assoc_change()4071 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||4072 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4195 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||4196 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
555 xstcb.state = SCTP_GET_STATE(&stcb->asoc); /* FIXME */