Home
last modified time | relevance | path

Searched refs:sctp_state (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c136 if (sctp->sctp_state > SCTPS_BOUND || in sctp_listen()
164 sctp->sctp_state = SCTPS_LISTEN; in sctp_listen()
241 if ((sctp->sctp_state >= SCTPS_BOUND) || in sctp_bind()
303 ASSERT(sctp->sctp_state == SCTPS_BOUND); in sctp_bind()
346 if (sctp->sctp_state > SCTPS_ESTABLISHED || in sctp_bind_add()
353 if (sctp->sctp_state > SCTPS_LISTEN) { in sctp_bind_add()
391 do_listen = !do_asconf && sctp->sctp_state > SCTPS_BOUND && in sctp_bind_add()
470 if (sctp->sctp_state > SCTPS_ESTABLISHED || in sctp_bind_del()
480 if (sctp->sctp_state > SCTPS_LISTEN) { in sctp_bind_del()
499 sctp->sctp_state > SCTPS_BOUND) { in sctp_bind_del()
[all …]
H A Dsctp_shutdown.c58 if (sctp->sctp_state != SCTPS_ESTABLISHED && in sctp_send_shutdown()
59 sctp->sctp_state != SCTPS_SHUTDOWN_PENDING && in sctp_send_shutdown()
60 sctp->sctp_state != SCTPS_SHUTDOWN_SENT) { in sctp_send_shutdown()
64 if (sctp->sctp_state == SCTPS_ESTABLISHED) { in sctp_send_shutdown()
65 sctp->sctp_state = SCTPS_SHUTDOWN_PENDING; in sctp_send_shutdown()
97 if (sctp->sctp_state > SCTPS_SHUTDOWN_PENDING && in sctp_send_shutdown()
140 sctp->sctp_state = SCTPS_SHUTDOWN_SENT; in sctp_send_shutdown()
153 if (sctp->sctp_state != SCTPS_SHUTDOWN_ACK_SENT) in sctp_shutdown_received()
154 sctp->sctp_state = SCTPS_SHUTDOWN_RECEIVED; in sctp_shutdown_received()
413 sctp->sctp_state = SCTPS_SHUTDOWN_ACK_SENT; in sctp_send_shutdown_ack()
H A Dsctp.c243 sctp->sctp_state)); in sctp_clean_death()
249 if ((sctp->sctp_state >= SCTPS_COOKIE_WAIT) && in sctp_clean_death()
305 sctp->sctp_state)); in sctp_disconnect()
309 switch (sctp->sctp_state) { in sctp_disconnect()
365 sctp->sctp_state >= SCTPS_ESTABLISHED && in sctp_disconnect()
377 while (sctp->sctp_state >= SCTPS_ESTABLISHED && in sctp_disconnect()
411 sctp->sctp_state)); in sctp_close()
420 if (sctp->sctp_state != SCTPS_IDLE) { in sctp_close()
463 if (sctp->sctp_state >= SCTPS_ESTABLISHED) in sctp_closei_local()
471 ASSERT(sctp->sctp_state == SCTPS_IDLE); in sctp_closei_local()
[all …]
H A Dsctp_timer.c422 if (sctp->sctp_state != SCTPS_ESTABLISHED) { in sctp_heartbeat_timer()
612 if (sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_rexmit_timer()
622 } else if (sctp->sctp_state >= SCTPS_ESTABLISHED) { in sctp_rexmit_timer()
640 switch (sctp->sctp_state) { in sctp_rexmit_timer()
651 if (sctp->sctp_state == SCTPS_SHUTDOWN_PENDING) { in sctp_rexmit_timer()
685 sctp->sctp_state = SCTPS_COOKIE_WAIT; in sctp_rexmit_timer()
H A Dsctp_cookie.c539 if (sctp->sctp_state <= SCTPS_LISTEN) { in sctp_send_initack()
546 } else if (sctp->sctp_state == SCTPS_COOKIE_WAIT || in sctp_send_initack()
547 sctp->sctp_state == SCTPS_COOKIE_ECHOED) { in sctp_send_initack()
761 if (sctp->sctp_state <= SCTPS_COOKIE_WAIT) { in sctp_send_initack()
1207 sctp->sctp_state = SCTPS_COOKIE_ECHOED; in sctp_send_cookie_echo()
1329 if (sctp->sctp_state >= SCTPS_COOKIE_WAIT) { in sctp_process_cookie()
1330 if (sctp->sctp_state == SCTPS_ESTABLISHED && in sctp_process_cookie()
1359 if (sctp->sctp_state < SCTPS_ESTABLISHED) in sctp_process_cookie()
1383 if (sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_process_cookie()
1413 if (sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_process_cookie()
H A Dsctp_opt_data.c80 sstat->sstat_state = sctp->sctp_state; in sctp_get_status()
355 if (sctp->sctp_state > SCTPS_LISTEN) { in sctp_set_initmsg()
1149 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_set_opt()
1155 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_set_opt()
1234 if (sctp->sctp_state < SCTPS_BOUND) { in sctp_set_opt()
1286 if (sctp->sctp_state >= SCTPS_LISTEN) { in sctp_set_opt()
1317 if (sctp->sctp_state >= SCTPS_LISTEN) { in sctp_set_opt()
1327 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_set_opt()
1392 if ((sctp->sctp_state <= SCTPS_LISTEN) && in sctp_getsockname()
1407 if ((sctp->sctp_state <= SCTPS_LISTEN) && in sctp_getsockname()
H A Dsctp_misc.c51 switch (sctp->sctp_state) { in sctp_display()
83 (void) mi_sprintf(buf1, "SCTPUnkState(%d)", sctp->sctp_state); in sctp_display()
H A Dsctp_snmp.c114 if (sctp->sctp_state == SCTPS_ESTABLISHED || in sctp_kstat_update()
115 sctp->sctp_state == SCTPS_SHUTDOWN_PENDING || in sctp_kstat_update()
116 sctp->sctp_state == SCTPS_SHUTDOWN_RECEIVED) { in sctp_kstat_update()
622 if (sctp->sctp_state == SCTPS_ESTABLISHED || in sctp_snmp_get_mib2()
623 sctp->sctp_state == SCTPS_SHUTDOWN_PENDING || in sctp_snmp_get_mib2()
624 sctp->sctp_state == SCTPS_SHUTDOWN_RECEIVED) { in sctp_snmp_get_mib2()
906 switch (sctp->sctp_state) { in sctp_snmp_state()
H A Dsctp_conn.c473 switch (sctp->sctp_state) { in sctp_connect()
592 sctp->sctp_state = SCTPS_COOKIE_WAIT; in sctp_connect()
653 ip0dbg(("sctp_connect: invalid state. %d\n", sctp->sctp_state)); in sctp_connect()
H A Dsctp_asconf.c860 if (sctp->sctp_state != SCTPS_ESTABLISHED || in sctp_rc_timer()
934 sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_wput_asconf()
938 "yes" : "no", sctp->sctp_state)); in sctp_wput_asconf()
1566 if (sctp->sctp_state <= SCTPS_LISTEN || !sctps->sctps_addip_enabled || in sctp_del_ip()
1571 if (sctp->sctp_state > SCTPS_BOUND) in sctp_del_ip()
1745 if (sctp->sctp_state != SCTPS_ESTABLISHED) in sctp_set_peerprim()
H A Dsctp_input.c1840 if (sctp->sctp_state == SCTPS_ESTABLISHED) { in sctp_make_sack()
1926 if (sctp->sctp_state == SCTPS_SHUTDOWN_SENT) { in sctp_sack()
2142 if (sctp->sctp_state == SCTPS_SHUTDOWN_PENDING) { in sctp_cumack()
3600 if (sctp->sctp_state >= SCTPS_ESTABLISHED) { in sctp_process_abort()
3745 if (sctp->sctp_state > SCTPS_BOUND && in sctp_input_data()
3746 sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_input_data()
3760 sctp->sctp_state != SCTPS_LISTEN) { in sctp_input_data()
3779 sctp->sctp_state, (int)(ch->sch_id))); in sctp_input_data()
3789 switch (sctp->sctp_state) { in sctp_input_data()
3815 if (sctp->sctp_state == SCTPS_SHUTDOWN_SENT) { in sctp_input_data()
[all …]
H A Dsctp_hash.c175 if (sctp->sctp_condemned || sctp->sctp_state <= SCTPS_LISTEN) { in cl_sctp_walk_list_stack()
210 cl_sctpi.cl_sctpi_state = sctp->sctp_state; in cl_sctp_walk_list_stack()
875 sctp->sctp_state < min_state) { in sctp_lookup()
H A Dsctp_addr.c317 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_valid_addr_list()
319 if (sctp->sctp_state > SCTPS_LISTEN) in sctp_valid_addr_list()
1567 if (sctp->sctp_state >= SCTPS_ESTABLISHED && !sctp->sctp_loopback && in sctp_getmyaddrs()
1806 if (sctp->sctp_state > SCTPS_LISTEN) { in sctp_get_addrlist()
1831 if (sctp->sctp_state > SCTPS_LISTEN) { in sctp_get_addrlist()
H A Dsctp_impl.h423 (sctp)->sctp_state = SCTPS_ESTABLISHED; \
666 int32_t sctp_state; member
H A Dsctp_output.c240 if (sctp->sctp_state > SCTPS_ESTABLISHED || in sctp_sendmsg()
267 if (sctp->sctp_state >= SCTPS_COOKIE_ECHOED && in sctp_sendmsg()
300 if (sctp->sctp_state == SCTPS_ESTABLISHED) in sctp_sendmsg()
H A Dsctp_error.c111 if (sctp->sctp_state < SCTPS_COOKIE_WAIT) { in sctp_user_abort()
H A Dsctp_common.c742 sctp_assoc_event(sctp, sctp->sctp_state < SCTPS_ESTABLISHED ? in sctp_faddr_dead()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c583 if (sctp->sctp_state >= SCTPS_ESTABLISHED && !sctp->sctp_loopback) { in sctp_getsockaddr()
643 if ((sctp->sctp_state <= SCTPS_LISTEN) && in sctp_getsockaddr()
659 if ((sctp->sctp_state <= SCTPS_LISTEN) && in sctp_getsockaddr()
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/
H A Dsctp.c548 switch (sctp->sctp_state) { in state2str()