| /freebsd-12-stable/tools/regression/sockets/sigpipe/ |
| D | sigpipe.c | 133 #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/ |
| D | socket.d | 58 #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/ |
| D | listen_kqueue.c | 66 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)) == -1) in main()
|
| /freebsd-12-stable/contrib/libpcap/ |
| D | sockutils.c | 299 #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/ |
| D | dbgport.c | 91 (void)setsockopt(conn_fd, SOL_SOCKET, SO_NOSIGPIPE, in dbg_handler()
|
| D | gdb.c | 1753 if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) == in new_connection()
|
| /freebsd-12-stable/contrib/blacklist/lib/ |
| D | bl.c | 167 #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/ |
| D | sctp_syscalls.c | 298 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && 422 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
|
| /freebsd-12-stable/lib/libc/resolv/ |
| D | res_send.c | 635 #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/ |
| D | tcpp_server.c | 238 if (setsockopt(listen_sock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) in tcpp_server_worker()
|
| D | tcpp_client.c | 107 if (setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in tcpp_client_newconn()
|
| /freebsd-12-stable/sys/kern/ |
| D | sys_socket.c | 149 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()
|
| D | uipc_debug.c | 133 if (so_options & SO_NOSIGPIPE) { in db_print_sooptions()
|
| D | uipc_syscalls.c | 806 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in kern_sendit()
|
| D | uipc_socket.c | 2813 case SO_NOSIGPIPE: 3035 case SO_NOSIGPIPE:
|
| /freebsd-12-stable/sys/sys/ |
| D | socket.h | 143 #define SO_NOSIGPIPE 0x00000800 /* no SIGPIPE from EPIPE */ macro
|
| /freebsd-12-stable/libexec/phttpget/ |
| D | phttpget.c | 378 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, in main()
|
| /freebsd-12-stable/lib/libfetch/ |
| D | common.c | 226 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof opt); in fetch_reopen()
|
| /freebsd-12-stable/sys/dev/cxgbe/tom/ |
| D | t4_cpl_io.c | 2050 if ((so->so_options & SO_NOSIGPIPE) == 0) { in t4_aiotx_process_job()
|