Searched refs:SS_ISCONNECTED (Results 1 – 14 of 14) sorted by relevance
314 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()
143 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()
194 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()
153 if ((psi->si_state & SS_ISCONNECTED) && in print_kn()178 if ((psi->si_state & SS_ISCONNECTED) && in print_kn()
91 #define SS_ISCONNECTED 0x002 /* socket connected to a peer */ macro125 (((so)->so_state&SS_ISCONNECTED) || \
422 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()
57 #define SS_ISCONNECTED 0x000001 /* socket connected to a peer */ macro
458 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 …]
794 ~(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 …]
614 if (!(so->so_state & SS_ISCONNECTED)) { in so_shutdown()678 } else if (!(so->so_state & SS_ISCONNECTED)) { in so_getpeername()926 if ((so->so_mode & SM_CONNREQUIRED) == 0 || (state & SS_ISCONNECTED)) { in so_poll()987 if ((state & (mask | SS_ISCONNECTED)) == mask) in so_poll()1050 connect_failed = !(so->so_state & SS_ISCONNECTED); in so_disconnected()1591 if ((so->so_state & (SS_ISCONNECTED|SS_CANTRCVMORE)) == 0 && in so_recvmsg()
223 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()
1520 if (state & SS_ISCONNECTED) in pr_state()
281 #define SS_ISCONNECTED 0x00000001 /* socket connected to a peer */ macro319 #define SS_CANTREBIND (SS_ISCONNECTED|SS_ISCONNECTING|SS_ISDISCONNECTING|\
828 if ((so->so_state & SS_ISCONNECTED) && in netstat_unix_cb()