Home
last modified time | relevance | path

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

/titanic_50/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.c143 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED | in sosdp_init()
288 if (so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED | in sosdp_listen()
339 if (so->so_state & (SS_ACCEPTCONN|SS_ISCONNECTED|SS_ISCONNECTING)) { in sosdp_connect()
340 if (so->so_state & SS_ISCONNECTED) { in sosdp_connect()
427 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING| in sosdp_recvmsg()
518 if (!(so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED))) { in sosdp_sendmsg()
541 if (!accept && !(so->so_state & SS_ISCONNECTED)) { in sosdp_getpeername()
599 if (!(state_change & SS_ISCONNECTED)) { in sosdp_shutdown()
1084 if (!(so_state & SS_ISCONNECTED) && (so->so_type == SOCK_STREAM)) { in sosdp_poll()
1356 so->so_state &= ~(SS_ISCONNECTING|SS_ISCONNECTED|SS_ISDISCONNECTING); in sdp_sock_connfail()
H A Dsocksctp.c194 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED | in sosctp_init()
316 if (so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED | in sosctp_listen()
372 if (so->so_state & (SS_ACCEPTCONN|SS_ISCONNECTED|SS_ISCONNECTING)) { in sosctp_connect()
373 if (so->so_state & SS_ISCONNECTED) { in sosctp_connect()
502 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING| in sosctp_recvmsg()
848 if (!(so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED))) { in sosctp_sendmsg()
1533 } else if ((so->so_state & SS_ISCONNECTED) == 0) { in sosctp_ioctl()
1976 ssa->ssa_state = (SS_ISBOUND | SS_ISCONNECTED); in sctp_assoc_newconn()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dunix.c153 if ((psi->si_state & SS_ISCONNECTED) && in print_kn()
178 if ((psi->si_state & SS_ISCONNECTED) && in print_kn()
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dsocketvar.h91 #define SS_ISCONNECTED 0x002 /* socket connected to a peer */ macro
125 (((so)->so_state&SS_ISCONNECTED) || \
/titanic_50/usr/src/stand/lib/sock/
H A Dsocket.c422 if (!(sockets[sock_id].so_state & SS_ISCONNECTED)) { in shutdown()
712 sockets[sock_id].so_state |= SS_ISCONNECTED; in accept()
738 if (sockets[sock_id].so_state & SS_ISCONNECTED) { in connect()
768 sockets[sock_id].so_state |= SS_ISCONNECTED; in connect()
775 sockets[sock_id].so_state |= SS_ISCONNECTED; in connect()
812 !(sockets[sock_id].so_state & SS_ISCONNECTED)) { in recvfrom()
1025 if (!(sockets[sock_id].so_state & SS_ISCONNECTED) && in sendto()
1033 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
/titanic_50/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.c794 ~(SS_ISCONNECTED|SS_ISCONNECTING); in sotpi_bindlisten()
1506 if (so->so_state & SS_ISCONNECTED) in sotpi_listen()
1585 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING|SS_ACCEPTCONN))) { in sodisconnect()
1624 so->so_state &= ~(SS_ISCONNECTED|SS_ISCONNECTING); in sodisconnect()
1955 nso->so_state |= SS_ISCONNECTED; in sotpi_accept()
2115 nso->so_state |= SS_ISCONNECTED; in sotpi_accept()
2287 if (so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING)) { in sotpi_connect()
2291 error = so->so_state & SS_ISCONNECTED ? in sotpi_connect()
2315 ~(SS_ISCONNECTED | SS_ISCONNECTING); in sotpi_connect()
2623 if (!(so->so_state & SS_ISCONNECTED)) { in sotpi_shutdown()
[all …]
H A Dsockcommon_sops.c614 if (!(so->so_state & SS_ISCONNECTED)) { in so_shutdown()
678 } else if (!(so->so_state & SS_ISCONNECTED)) { in so_getpeername()
927 if ((so->so_mode & SM_CONNREQUIRED) == 0 || (state & SS_ISCONNECTED)) { in so_poll()
995 if ((state & (mask | SS_ISCONNECTED)) == mask) in so_poll()
1064 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.c223 if ((so->so_state & SS_ISCONNECTED) == 0) in so_wait_connected_locked()
1281 so->so_state |= SS_ISCONNECTED | (pso->so_state & SS_ASYNC); in socket_init_common()
1534 } else if ((so->so_state & SS_ISCONNECTED) == 0) { in socket_ioctl_common()
H A Dsocksubr.c1520 if (state & SS_ISCONNECTED) in pr_state()
/titanic_50/usr/src/uts/common/sys/
H A Dsocketvar.h281 #define SS_ISCONNECTED 0x00000001 /* socket connected to a peer */ macro
319 #define SS_CANTREBIND (SS_ISCONNECTED|SS_ISCONNECTING|SS_ISDISCONNECTING|\
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c828 if ((so->so_state & SS_ISCONNECTED) && in netstat_unix_cb()