/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_bind.c | 136 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 D | sctp_shutdown.c | 58 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 D | sctp.c | 243 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 D | sctp_timer.c | 422 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 D | sctp_cookie.c | 539 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 D | sctp_opt_data.c | 80 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 D | sctp_misc.c | 51 switch (sctp->sctp_state) { in sctp_display() 83 (void) mi_sprintf(buf1, "SCTPUnkState(%d)", sctp->sctp_state); in sctp_display()
|
H A D | sctp_snmp.c | 114 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 D | sctp_conn.c | 473 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 D | sctp_asconf.c | 860 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 D | sctp_input.c | 1840 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 D | sctp_hash.c | 175 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 D | sctp_addr.c | 317 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 D | sctp_impl.h | 423 (sctp)->sctp_state = SCTPS_ESTABLISHED; \ 666 int32_t sctp_state; member
|
H A D | sctp_output.c | 240 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 D | sctp_error.c | 111 if (sctp->sctp_state < SCTPS_COOKIE_WAIT) { in sctp_user_abort()
|
H A D | sctp_common.c | 742 sctp_assoc_event(sctp, sctp->sctp_state < SCTPS_ESTABLISHED ? in sctp_faddr_dead()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 583 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 D | sctp.c | 548 switch (sctp->sctp_state) { in state2str()
|