Home
last modified time | relevance | path

Searched refs:SO_LINGER (Results 1 – 8 of 8) sorted by relevance

/dragonfly/usr.bin/rfcomm_sppd/
H A Drfcomm_sppd.c367 if (setsockopt(fd, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) < 0) in open_client()
451 if (setsockopt(fd, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) < 0) in open_server()
/dragonfly/lib/libsdp/
H A Dsession.c101 if (setsockopt(ss->s, SOL_SOCKET, SO_LINGER, &li, sizeof(li)) < 0) { in sdp_open()
/dragonfly/sys/vfs/fifofs/
H A Dfifo_vnops.c200 rso->so_options &= ~SO_LINGER; in fifo_fip_create()
208 wso->so_options &= ~SO_LINGER; in fifo_fip_create()
/dragonfly/sys/kern/
H A Duipc_socket.c461 (so->so_options & SO_LINGER) && in soclose()
562 if (so->so_options & SO_LINGER) { in soclose_sync()
2133 case SO_LINGER: in sosetopt()
2140 so->so_options |= SO_LINGER; in sosetopt()
2142 so->so_options &= ~SO_LINGER; in sosetopt()
2349 case SO_LINGER: in sogetopt()
2350 l.l_onoff = so->so_options & SO_LINGER; in sogetopt()
/dragonfly/sys/sys/
H A Dsocket.h123 #define SO_LINGER 0x0080 /* linger on close if data present */ macro
/dragonfly/contrib/tcp_wrappers/
H A Doptions.c328 if (setsockopt(request->fd, SOL_SOCKET, SO_LINGER, (char *) &linger,
H A DCHANGES353 (SO_LINGER). From: Marc Boucher <marc@cam.org>.
/dragonfly/sys/netinet/
H A Dtcp_usrreq.c217 if ((so->so_options & SO_LINGER) && so->so_linger == 0) in tcp_usr_attach()
1841 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_disconnect()