Home
last modified time | relevance | path

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

12

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dnet.h59 if ((so->so_state & SS_ISCONNECTED) == 0) in sock_getname()
/freebsd/sys/netinet6/
H A Draw_ip6.c361 if (so->so_state & SS_ISCONNECTED) { in rip6_send()
413 if (!(so->so_state & SS_ISCONNECTED)) { in rip6_send()
724 if ((so->so_state & SS_ISCONNECTED) == 0) in rip6_disconnect()
829 if (!(so->so_state & SS_ISCONNECTED)) { in rip6_shutdown()
H A Dudp6_usrreq.c1245 so->so_state &= ~SS_ISCONNECTED; /* XXX */ in udp6_disconnect()
H A Dip6_output.c2275 if (!(so->so_state & SS_ISCONNECTED)) in ip6_ctloutput()
/freebsd/sys/dev/hyperv/hvsock/
H A Dhv_sock.c521 (SS_ISCONNECTED|SS_ISDISCONNECTING|SS_ISCONNECTING)) { in hvs_trans_connect()
925 if (so->so_state & SS_ISCONNECTED) { in hvs_trans_close()
933 (SS_ISCONNECTED|SS_ISCONNECTING|SS_ISDISCONNECTING)) in hvs_trans_close()
972 if (so->so_state & SS_ISCONNECTED) { in hvs_trans_abort()
990 (SS_ISCONNECTED | SS_ISCONNECTING | SS_ISDISCONNECTING)) == 0) { in hvs_trans_shutdown()
1005 if (so->so_state & SS_ISCONNECTED) { in hvs_trans_shutdown()
1668 (SS_ISCONNECTED|SS_ISCONNECTING|SS_ISDISCONNECTING)) in hvsock_detach()
/freebsd/sys/netinet/
H A Draw_ip.c422 if (so->so_state & SS_ISCONNECTED) { in rip_send()
879 so->so_state &= ~SS_ISCONNECTED; in rip_dodisconnect()
911 if ((so->so_state & SS_ISCONNECTED) == 0) in rip_disconnect()
989 if (!(so->so_state & SS_ISCONNECTED)) { in rip_shutdown()
H A Dudp_usrreq.c1691 so->so_state &= ~SS_ISCONNECTED; /* XXX */ in udp_disconnect()
1704 if (!(so->so_state & SS_ISCONNECTED)) in udp_shutdown()
H A Dtcp_usrreq.c818 (SS_ISCONNECTED | SS_ISCONNECTING | SS_ISDISCONNECTING)) == 0) { in tcp_usr_shutdown()
1469 (SS_ISCONNECTING | SS_ISCONNECTED | SS_ISDISCONNECTING | in tcp_connect()
1512 (SS_ISCONNECTING | SS_ISCONNECTED)) != 0)) in tcp6_connect()
H A Dtcp_syncache.c1005 if (!solisten_enqueue(so, SS_ISCONNECTED)) in syncache_socket()
/freebsd/sys/netgraph/
H A Dng_socket.c852 priv->datasock->ng_socket->so_state |= SS_ISCONNECTED; in ngs_connect()
854 priv->datasock->ng_socket->so_state &= ~SS_ISCONNECTED; in ngs_connect()
1072 priv->datasock->ng_socket->so_state |= SS_ISCONNECTED; in ngs_disconnect()
1074 priv->datasock->ng_socket->so_state &= ~SS_ISCONNECTED; in ngs_disconnect()
H A Dng_ksocket.c785 if ((so->so_state & SS_ISCONNECTED) == 0) in ng_ksocket_rcvmsg()
1094 if ((error = soreceive(so, (so->so_state & SS_ISCONNECTED) ? in ng_ksocket_incoming2()
/freebsd/sys/kern/
H A Duipc_socket.c1314 so->so_state = (head->so_state & SS_NBIO) | SS_ISCONNECTED;
1409 if ((so->so_state & (SS_ISCONNECTED | SS_ISCONNECTING |
1470 KASSERT((so->so_state & (SS_ISCONNECTED | SS_ISCONNECTING |
1683 else if ((so->so_state & (SS_ISCONNECTED | SS_ISCONNECTING)) == 0)
1703 else if ((so2->so_state & (SS_ISCONNECTED | SS_ISCONNECTING)) == 0)
1902 if (so->so_state & SS_ISCONNECTED) {
1916 while (so->so_state & SS_ISCONNECTED) {
2066 if (so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING) &&
2103 if ((so->so_state & SS_ISCONNECTED) == 0)
2159 if ((so->so_state & SS_ISCONNECTED) == 0) {
[all …]
H A Duipc_debug.c159 if (so_state & SS_ISCONNECTED) { in db_print_sostate()
H A Duipc_usrreq.c987 if ((so->so_state & SS_ISCONNECTED) == 0) { in uipc_send()
1228 if (((so->so_state & SS_ISCONNECTED) == 0) && addr == NULL) { in uipc_sosend_dgram()
1716 (SS_ISCONNECTED | SS_ISCONNECTING | SS_ISDISCONNECTING)) == 0) { in uipc_shutdown()
2189 so->so_state &= ~SS_ISCONNECTED; in unp_disconnect()
H A Dkern_sendfile.c793 if ((so->so_state & SS_ISCONNECTED) == 0) { in vn_sendfile()
H A Duipc_syscalls.c1432 if ((so->so_state & SS_ISCONNECTED) == 0) { in kern_getpeername()
/freebsd/sys/sys/
H A Dsocketvar.h235 #define SS_ISCONNECTED 0x0002 /* socket connected to a peer */ macro
375 (((so)->so_state&SS_ISCONNECTED) || \
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c797 (SS_ISCONNECTED | SS_ISCONNECTING | SS_ISDISCONNECTING)) == 0) { in sdp_shutdown()
1103 if ((so->so_state & SS_ISCONNECTED) == 0 && addr == NULL) { in sdp_sosend()
1260 if (!(so->so_state & (SS_ISCONNECTED|SS_ISDISCONNECTED))) { in sdp_sorecv()
H A Dsdp_cma.c160 child = sonewconn(sk, SS_ISCONNECTED); in sdp_connect_handler()
/freebsd/sys/rpc/
H A Dsvc_vc.c212 if (so->so_state & (SS_ISCONNECTED|SS_ISDISCONNECTED)) { in svc_vc_create()
H A Dclnt_vc.c156 if ((so->so_state & SS_ISCONNECTED) == 0) { in clnt_vc_create()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c475 pcb->so->so_state & SS_ISCONNECTED) in ng_btsocket_l2cap_raw_rtclean()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c2354 if (!(so->so_state & (SS_ISCONNECTED|SS_ISDISCONNECTED))) { in aio_ddp_requeue()
2900 if (!(so->so_state & (SS_ISCONNECTED|SS_ISDISCONNECTED))) { in ddp_rcvbuf_requeue()
H A Dt4_cpl_io.c2214 if ((so->so_state & SS_ISCONNECTED) == 0) { in t4_aiotx_process_job()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c1288 if ((so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING)) == 0) { in linux_sendto()

12