Home
last modified time | relevance | path

Searched refs:SO_NOSIGPIPE (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/tools/regression/sockets/sigpipe/
H A Dsigpipe.c133 #ifdef SO_NOSIGPIPE
140 if (setsockopt(sock2, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in test_send_dontsignal()
167 #ifdef SO_NOSIGPIPE
174 if (setsockopt(sock2, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in test_write_dontsignal()
264 #ifndef SO_NOSIGPIPE in main()
276 #ifdef SO_NOSIGPIPE in main()
288 #ifdef SO_NOSIGPIPE in main()
303 #ifdef SO_NOSIGPIPE in main()
313 #ifdef SO_NOSIGPIPE in main()
/freebsd-13.1/tools/regression/sockets/listen_kqueue/
H A Dlisten_kqueue.c66 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)) == -1) in main()
/freebsd-13.1/cddl/lib/libdtrace/
H A Dsocket.d58 #pragma D binding "1.13" SO_NOSIGPIPE
59 inline int SO_NOSIGPIPE = 0x0800; /* no SIGPIPE from EPIPE */ variable
/freebsd-13.1/contrib/libpcap/
H A Dsockutils.c299 #if defined(SO_NOSIGPIPE) || defined(IPV6_V6ONLY) || defined(IPV6_BINDV6ONLY) in sock_open()
316 #ifdef SO_NOSIGPIPE in sock_open()
317 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, (char *)&on, in sock_open()
/freebsd-13.1/contrib/blacklist/lib/
H A Dbl.c167 #ifdef SO_NOSIGPIPE in bl_init()
169 setsockopt(b->b_fd, SOL_SOCKET, SO_NOSIGPIPE, &o, sizeof(o)); in bl_init()
/freebsd-13.1/sys/netinet/
H A Dsctp_syscalls.c298 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
422 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
/freebsd-13.1/lib/libc/resolv/
H A Dres_send.c635 #ifdef SO_NOSIGPIPE in send_vc()
686 #ifdef SO_NOSIGPIPE in send_vc()
694 (void)_setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on, in send_vc()
/freebsd-13.1/tools/tools/netrate/tcpp/
H A Dtcpp_server.c238 if (setsockopt(listen_sock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) in tcpp_server_worker()
H A Dtcpp_client.c107 if (setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in tcpp_client_newconn()
/freebsd-13.1/sys/kern/
H A Dsys_socket.c149 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soo_write()
649 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soaio_process_job()
H A Duipc_debug.c133 if (so_options & SO_NOSIGPIPE) { in db_print_sooptions()
H A Duipc_syscalls.c796 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in kern_sendit()
H A Duipc_socket.c3050 case SO_NOSIGPIPE:
3272 case SO_NOSIGPIPE:
/freebsd-13.1/sys/sys/
H A Dsocket.h143 #define SO_NOSIGPIPE 0x00000800 /* no SIGPIPE from EPIPE */ macro
/freebsd-13.1/libexec/phttpget/
H A Dphttpget.c378 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, in main()
/freebsd-13.1/usr.sbin/bhyve/
H A Dgdb.c1765 if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) == in new_connection()
/freebsd-13.1/lib/libfetch/
H A Dcommon.c286 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof opt); in fetch_reopen()
/freebsd-13.1/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c2229 if ((so->so_options & SO_NOSIGPIPE) == 0) { in t4_aiotx_process_job()
/freebsd-13.1/contrib/ntp/lib/isc/unix/
H A Dsocket.c2380 #ifdef SO_NOSIGPIPE in opensocket()
2381 if (setsockopt(sock->fd, SOL_SOCKET, SO_NOSIGPIPE, in opensocket()