Home
last modified time | relevance | path

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

/titanic_44/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_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_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()
1205 sctp->sctp_state = SCTPS_COOKIE_ECHOED; in sctp_send_cookie_echo()
1327 if (sctp->sctp_state >= SCTPS_COOKIE_WAIT) { in sctp_process_cookie()
1328 if (sctp->sctp_state == SCTPS_ESTABLISHED && in sctp_process_cookie()
1357 if (sctp->sctp_state < SCTPS_ESTABLISHED) in sctp_process_cookie()
1381 if (sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_process_cookie()
1411 if (sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_process_cookie()
H A Dsctp_opt_data.c75 sstat->sstat_state = sctp->sctp_state; in sctp_get_status()
350 if (sctp->sctp_state > SCTPS_LISTEN) { in sctp_set_initmsg()
1136 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_set_opt()
1142 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_set_opt()
1221 if (sctp->sctp_state < SCTPS_BOUND) { in sctp_set_opt()
1273 if (sctp->sctp_state >= SCTPS_LISTEN) { in sctp_set_opt()
1304 if (sctp->sctp_state >= SCTPS_LISTEN) { in sctp_set_opt()
1314 if (sctp->sctp_state >= SCTPS_BOUND) { in sctp_set_opt()
1379 if ((sctp->sctp_state <= SCTPS_LISTEN) && in sctp_getsockname()
1394 if ((sctp->sctp_state <= SCTPS_LISTEN) && in sctp_getsockname()
H A Dsctp_snmp.c109 if (sctp->sctp_state == SCTPS_ESTABLISHED || in sctp_kstat_update()
110 sctp->sctp_state == SCTPS_SHUTDOWN_PENDING || in sctp_kstat_update()
111 sctp->sctp_state == SCTPS_SHUTDOWN_RECEIVED) { in sctp_kstat_update()
609 if (sctp->sctp_state == SCTPS_ESTABLISHED || in sctp_snmp_get_mib2()
610 sctp->sctp_state == SCTPS_SHUTDOWN_PENDING || in sctp_snmp_get_mib2()
611 sctp->sctp_state == SCTPS_SHUTDOWN_RECEIVED) { in sctp_snmp_get_mib2()
873 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.c854 if (sctp->sctp_state != SCTPS_ESTABLISHED || in sctp_rc_timer()
928 sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_wput_asconf()
932 "yes" : "no", sctp->sctp_state)); in sctp_wput_asconf()
1559 if (sctp->sctp_state <= SCTPS_LISTEN || !sctps->sctps_addip_enabled || in sctp_del_ip()
1564 if (sctp->sctp_state > SCTPS_BOUND) in sctp_del_ip()
1738 if (sctp->sctp_state != SCTPS_ESTABLISHED) in sctp_set_peerprim()
H A Dsctp_input.c1838 if (sctp->sctp_state == SCTPS_ESTABLISHED) { in sctp_make_sack()
1924 if (sctp->sctp_state == SCTPS_SHUTDOWN_SENT) { in sctp_sack()
2140 if (sctp->sctp_state == SCTPS_SHUTDOWN_PENDING) { in sctp_cumack()
3590 if (sctp->sctp_state >= SCTPS_ESTABLISHED) { in sctp_process_abort()
3735 if (sctp->sctp_state > SCTPS_BOUND && in sctp_input_data()
3736 sctp->sctp_state < SCTPS_ESTABLISHED) { in sctp_input_data()
3750 sctp->sctp_state != SCTPS_LISTEN) { in sctp_input_data()
3769 sctp->sctp_state, (int)(ch->sch_id))); in sctp_input_data()
3779 switch (sctp->sctp_state) { in sctp_input_data()
3805 if (sctp->sctp_state == SCTPS_SHUTDOWN_SENT) { in sctp_input_data()
[all …]
H A Dsctp_hash.c174 if (sctp->sctp_condemned || sctp->sctp_state <= SCTPS_LISTEN) { in cl_sctp_walk_list_stack()
209 cl_sctpi.cl_sctpi_state = sctp->sctp_state; in cl_sctp_walk_list_stack()
866 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_error.c111 if (sctp->sctp_state < SCTPS_COOKIE_WAIT) { in sctp_user_abort()
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_common.c742 sctp_assoc_event(sctp, sctp->sctp_state < SCTPS_ESTABLISHED ? in sctp_faddr_dead()
/titanic_44/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()
/titanic_44/usr/src/cmd/mdb/common/modules/sctp/
H A Dsctp.c547 switch (sctp->sctp_state) { in state2str()