Home
last modified time | relevance | path

Searched refs:SS_ISCONNECTED (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctpsubr.c314 ASSERT((ssa->ssa_state & (SS_ISCONNECTED|SS_ISCONNECTING)) || in sosctp_assoc_waitconnected()
317 while ((ssa->ssa_state & (SS_ISCONNECTED|SS_ISCONNECTING)) == in sosctp_assoc_waitconnected()
343 if (!(ssa->ssa_state & SS_ISCONNECTED)) { in sosctp_assoc_waitconnected()
527 (ssa->ssa_state & (SS_ISCONNECTED|SS_ISCONNECTING| in sosctp_assoc_move()
592 ssa->ssa_state &= ~(SS_ISCONNECTED|SS_ISDISCONNECTING); in sosctp_assoc_isconnecting()
605 ssa->ssa_state |= SS_ISCONNECTED; in sosctp_assoc_isconnected()
628 ssa->ssa_state &= ~(SS_ISCONNECTING|SS_ISCONNECTED|SS_ISDISCONNECTING); in sosctp_assoc_isdisconnected()
H A Dsocksdp.c144 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED | in sosdp_init()
289 if (so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED | in sosdp_listen()
340 if (so->so_state & (SS_ACCEPTCONN|SS_ISCONNECTED|SS_ISCONNECTING)) { in sosdp_connect()
341 if (so->so_state & SS_ISCONNECTED) { in sosdp_connect()
428 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING| in sosdp_recvmsg()
519 if (!(so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED))) { in sosdp_sendmsg()
542 if (!accept && !(so->so_state & SS_ISCONNECTED)) { in sosdp_getpeername()
600 if (!(state_change & SS_ISCONNECTED)) { in sosdp_shutdown()
1085 if (!(so_state & SS_ISCONNECTED) && (so->so_type == SOCK_STREAM)) { in sosdp_poll()
1353 so->so_state &= ~(SS_ISCONNECTING|SS_ISCONNECTED|SS_ISDISCONNECTING); in sdp_sock_connfail()
H A Dsocksctp.c204 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED | in sosctp_init()
326 if (so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED | in sosctp_listen()
382 if (so->so_state & (SS_ACCEPTCONN|SS_ISCONNECTED|SS_ISCONNECTING)) { in sosctp_connect()
383 if (so->so_state & SS_ISCONNECTED) { in sosctp_connect()
511 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING| in sosctp_recvmsg()
857 if (!(so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED))) { in sosctp_sendmsg()
1542 } else if ((so->so_state & SS_ISCONNECTED) == 0) { in sosctp_ioctl()
1985 ssa->ssa_state = (SS_ISBOUND | SS_ISCONNECTED); in sctp_assoc_newconn()
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c421 if (!(sockets[sock_id].so_state & SS_ISCONNECTED)) { in shutdown()
711 sockets[sock_id].so_state |= SS_ISCONNECTED; in accept()
737 if (sockets[sock_id].so_state & SS_ISCONNECTED) { in connect()
767 sockets[sock_id].so_state |= SS_ISCONNECTED; in connect()
774 sockets[sock_id].so_state |= SS_ISCONNECTED; in connect()
811 !(sockets[sock_id].so_state & SS_ISCONNECTED)) { in recvfrom()
1024 if (!(sockets[sock_id].so_state & SS_ISCONNECTED) && in sendto()
1032 if (!((sockets[sock_id].so_state & SS_ISCONNECTED) || in sendto()
H A Dsocket_impl.h57 #define SS_ISCONNECTED 0x000001 /* socket connected to a peer */ macro
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c458 so->so_state |= SS_ISBOUND | SS_ISCONNECTED; in so_strinit()
494 so->so_state |= SS_ISBOUND|SS_ISCONNECTED; in copy_tinfo()
849 so->so_state &= ~(SS_ISCONNECTED|SS_ISDISCONNECTING); in soisconnecting()
859 so->so_state |= SS_ISCONNECTED; in soisconnected()
870 so->so_state &= ~(SS_ISCONNECTING|SS_ISCONNECTED|SS_ISDISCONNECTING); in soisdisconnected()
889 so->so_state &= ~(SS_ISCONNECTING|SS_ISCONNECTED|SS_ISDISCONNECTING); in sobreakconn()
1249 while ((so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING)) == in sowaitconnected()
1279 if (!(so->so_state & SS_ISCONNECTED)) { in sowaitconnected()
1579 ASSERT(!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING))); in strsock_discon_ind()
1742 !(so->so_state & SS_ISCONNECTED)) { in strsock_proto()
[all …]
H A Dsocktpi.c797 ~(SS_ISCONNECTED|SS_ISCONNECTING); in sotpi_bindlisten()
1475 if (so->so_state & SS_ISCONNECTED) in sotpi_listen()
1554 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING|SS_ACCEPTCONN))) { in sodisconnect()
1593 so->so_state &= ~(SS_ISCONNECTED|SS_ISCONNECTING); in sodisconnect()
1924 nso->so_state |= SS_ISCONNECTED; in sotpi_accept()
2051 nso->so_state |= SS_ISCONNECTED; in sotpi_accept()
2216 if (so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING)) { in sotpi_connect()
2220 error = so->so_state & SS_ISCONNECTED ? in sotpi_connect()
2244 ~(SS_ISCONNECTED | SS_ISCONNECTING); in sotpi_connect()
2564 if (!(so->so_state & SS_ISCONNECTED)) { in sotpi_shutdown()
[all …]
H A Dsockcommon_sops.c583 if (!(so->so_state & SS_ISCONNECTED)) { in so_shutdown()
647 } else if (!(so->so_state & SS_ISCONNECTED)) { in so_getpeername()
895 if ((so->so_mode & SM_CONNREQUIRED) == 0 || (state & SS_ISCONNECTED)) { in so_poll()
963 if ((state & (mask | SS_ISCONNECTED)) == mask) in so_poll()
1032 connect_failed = !(so->so_state & SS_ISCONNECTED); in so_disconnected()
1605 if ((so->so_state & (SS_ISCONNECTED|SS_CANTRCVMORE)) == 0 && in so_recvmsg()
H A Dsockcommon_subr.c224 if ((so->so_state & SS_ISCONNECTED) == 0) in so_wait_connected_locked()
1284 so->so_state |= SS_ISCONNECTED | (pso->so_state & SS_ASYNC); in socket_init_common()
1537 } else if ((so->so_state & SS_ISCONNECTED) == 0) { in socket_ioctl_common()
H A Dsocksubr.c1585 if (state & SS_ISCONNECTED) in pr_state()
/illumos-gate/usr/src/uts/common/sys/
H A Dsocketvar.h288 #define SS_ISCONNECTED 0x00000001 /* socket connected to a peer */ macro
326 #define SS_CANTREBIND (SS_ISCONNECTED|SS_ISCONNECTING|SS_ISDISCONNECTING|\
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c831 if ((so->so_state & SS_ISCONNECTED) && in netstat_unix_cb()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c7809 if ((psi->si_state & SS_ISCONNECTED) && in uds_report_item()
7831 (psi->si_state & SS_ISCONNECTED) && in uds_report_item()