Home
last modified time | relevance | path

Searched refs:SCTP_GET_STATE (Results 1 – 10 of 10) sorted by relevance

/external/usrsctp/usrsctplib/netinet/
Dsctp_input.c221 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_ACK_SENT)) { in sctp_handle_init()
796 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_handle_nat_colliding_state()
797 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_handle_nat_colliding_state()
807 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) { in sctp_handle_nat_colliding_state()
903 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_handle_abort()
904 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_handle_abort()
975 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_handle_shutdown()
976 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_handle_shutdown()
983 old_state = SCTP_GET_STATE(stcb); in sctp_handle_shutdown()
1039 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_RECEIVED) && in sctp_handle_shutdown()
[all …]
Dsctp_timer.c982 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED) {
1029 if (SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT) {
1077 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED) {
1089 …SCTP_PRINTF("Strange in state %d not cookie-echoed yet c-e timer expires?\n", SCTP_GET_STATE(stcb)…
1599 if (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) {
1603 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
1604 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
Dsctp_peeloff.c82 state = SCTP_GET_STATE(stcb); in sctp_can_peel_off()
112 state = SCTP_GET_STATE(stcb); in sctp_do_peeloff()
Dsctp_output.c6020 (SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT)) {
6391 ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) ||
6392 (SCTP_GET_STATE(stcb) == SCTP_STATE_INUSE) ||
6393 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED))) {
6936 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) ||
6937 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_ACK_SENT) ||
6938 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED) ||
7265 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) &&
7266 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_RECEIVED) &&
7267 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {
[all …]
Dsctp_asconf.c2055 ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_addr_mgmt_assoc()
2056 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED))) { in sctp_addr_mgmt_assoc()
2305 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_asconf_iterator_stcb()
2306 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_asconf_iterator_stcb()
2367 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) || in sctp_set_primary_ip_address_sa()
2368 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) { in sctp_set_primary_ip_address_sa()
2903 SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) { in sctp_process_initack_addresses()
Dsctp_indata.c2598 if (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_sack_check()
2955 if (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) { in sctp_process_data()
4351 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) &&
4356 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) &&
4372 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
4373 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
4388 } else if ((SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED) &&
5073 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) &&
5078 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) &&
5094 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
[all …]
Dsctp_pcb.c3967 if (((SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_WAIT) ||
3968 (SCTP_GET_STATE(asoc) == SCTP_STATE_COOKIE_ECHOED)) &&
3996 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||
3997 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
4011 if ((SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_SENT) &&
4012 (SCTP_GET_STATE(asoc) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {
4019 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||
4020 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
4052 if ((SCTP_GET_STATE(asoc) == SCTP_STATE_OPEN) ||
4053 (SCTP_GET_STATE(asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
[all …]
Dsctp_usrreq.c1174 if (SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT) {
1183 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
1184 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
1202 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_SENT) &&
1203 (SCTP_GET_STATE(stcb) != SCTP_STATE_SHUTDOWN_ACK_SENT)) {
1207 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
1208 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
1250 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
1251 (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
1398 if ((SCTP_GET_STATE(stcb) != SCTP_STATE_COOKIE_WAIT) &&
[all …]
Dsctputil.c3353 if (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) { in sctp_notify_assoc_change()
3361 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || in sctp_notify_assoc_change()
3362 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) { in sctp_notify_assoc_change()
4276 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) ||
4277 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) {
4366 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) ||
4367 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) {
4374 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) ||
4375 (SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_ECHOED)) {
4648 if ((SCTP_GET_STATE(stcb) == SCTP_STATE_OPEN) ||
[all …]
Dsctp_constants.h481 #define SCTP_GET_STATE(_stcb) \ macro