Searched refs:SCTP_GET_STATE (Results 1 – 11 of 11) sorted by relevance
215 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_handle_init()762 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_WAIT) { in sctp_handle_nat_colliding_state()772 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED) { in sctp_handle_nat_colliding_state()857 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) || in sctp_handle_abort()858 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_handle_abort()927 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_WAIT) || in sctp_handle_shutdown()928 (SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_handle_shutdown()969 if ((SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_RECEIVED) && in sctp_handle_shutdown()970 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT) && in sctp_handle_shutdown()971 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT)) { in sctp_handle_shutdown()[all …]
957 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED) {999 if (SCTP_GET_STATE((&stcb->asoc)) != SCTP_STATE_COOKIE_WAIT) {1047 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED) {1059 …SCTP_PRINTF("Strange in state %d not cookie-echoed yet c-e timer expires?\n", SCTP_GET_STATE(&stcb…1557 if (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) {1561 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||1562 (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()
5716 (SCTP_GET_STATE(asoc) != SCTP_STATE_COOKIE_WAIT) &&6061 ((SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_WAIT) ||6062 (SCTP_GET_STATE(asoc) == SCTP_STATE_INUSE) ||6063 (SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_ECHOED))) {6560 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_SENT) ||6561 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_ACK_SENT) ||6562 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED) ||6903 if ((SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) &&6904 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_RECEIVED) &&6905 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {[all …]
3881 if (((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_COOKIE_WAIT) ||3882 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_COOKIE_ECHOED)) &&3910 if ((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_OPEN) ||3911 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {3925 if ((SCTP_GET_STATE(&asoc->asoc) != SCTP_STATE_SHUTDOWN_SENT) &&3926 (SCTP_GET_STATE(&asoc->asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {3933 if ((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_OPEN) ||3934 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {3980 if ((SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_OPEN) ||3981 (SCTP_GET_STATE(&asoc->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {[all …]
2004 SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_addr_mgmt_assoc()2244 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_asconf_iterator_stcb()2305 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_set_primary_ip_address_sa()2341 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) { in sctp_set_primary_ip_address()2878 SCTP_GET_STATE(&stcb->asoc) == in sctp_process_initack_addresses()
520 #define SCTP_GET_STATE(asoc) ((asoc)->state & SCTP_STATE_MASK) macro
2167 if (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_sack_check()2583 if (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_process_data()4018 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||4019 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4036 } else if ((SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED) &&4755 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||4756 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4774 } 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 …]
2802 if (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_WAIT) { in sctp_notify_assoc_change()2810 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_WAIT) || in sctp_notify_assoc_change()2811 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_notify_assoc_change()4066 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||4067 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {4190 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||4191 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
538 xstcb.state = SCTP_GET_STATE(&stcb->asoc); /* FIXME */