Home
last modified time | relevance | path

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

/freebsd-12-stable/tools/regression/sockets/sigpipe/
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-12-stable/cddl/lib/libdtrace/
Dsocket.d58 #pragma D binding "1.13" SO_NOSIGPIPE
59 inline int SO_NOSIGPIPE = 0x0800; /* no SIGPIPE from EPIPE */ variable
/freebsd-12-stable/tools/regression/sockets/listen_kqueue/
Dlisten_kqueue.c66 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)) == -1) in main()
/freebsd-12-stable/contrib/libpcap/
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-12-stable/usr.sbin/bhyve/
Ddbgport.c91 (void)setsockopt(conn_fd, SOL_SOCKET, SO_NOSIGPIPE, in dbg_handler()
Dgdb.c1753 if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) == in new_connection()
/freebsd-12-stable/contrib/blacklist/lib/
Dbl.c167 #ifdef SO_NOSIGPIPE in bl_init()
169 setsockopt(b->b_fd, SOL_SOCKET, SO_NOSIGPIPE, &o, sizeof(o)); in bl_init()
/freebsd-12-stable/sys/netinet/
Dsctp_syscalls.c298 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
422 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
/freebsd-12-stable/lib/libc/resolv/
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-12-stable/tools/tools/netrate/tcpp/
Dtcpp_server.c238 if (setsockopt(listen_sock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) in tcpp_server_worker()
Dtcpp_client.c107 if (setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in tcpp_client_newconn()
/freebsd-12-stable/sys/kern/
Dsys_socket.c149 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soo_write()
658 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soaio_process_job()
Duipc_debug.c133 if (so_options & SO_NOSIGPIPE) { in db_print_sooptions()
Duipc_syscalls.c806 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in kern_sendit()
Duipc_socket.c2813 case SO_NOSIGPIPE:
3035 case SO_NOSIGPIPE:
/freebsd-12-stable/sys/sys/
Dsocket.h143 #define SO_NOSIGPIPE 0x00000800 /* no SIGPIPE from EPIPE */ macro
/freebsd-12-stable/libexec/phttpget/
Dphttpget.c378 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, in main()
/freebsd-12-stable/lib/libfetch/
Dcommon.c226 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof opt); in fetch_reopen()
/freebsd-12-stable/sys/dev/cxgbe/tom/
Dt4_cpl_io.c2050 if ((so->so_options & SO_NOSIGPIPE) == 0) { in t4_aiotx_process_job()