Home
last modified time | relevance | path

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

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_input.c217 (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 …]
Dsctp_timer.c959 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)) {
Dsctp_peeloff.c80 state = SCTP_GET_STATE((&stcb->asoc)); in sctp_can_peel_off()
110 state = SCTP_GET_STATE((&stcb->asoc)); in sctp_do_peeloff()
Dsctp_output.c5885 (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 …]
Dsctp_pcb.c3965 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 …]
Dsctp_asconf.c2006 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()
Dsctp_constants.h487 #define SCTP_GET_STATE(asoc) ((asoc)->state & SCTP_STATE_MASK) macro
Dsctp_indata.c2172 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) &&
Dsctp_usrreq.c1199 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 …]
Dsctputil.c2808 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)) {
Dsctp_sysctl.c555 xstcb.state = SCTP_GET_STATE(&stcb->asoc); /* FIXME */