| /freebsd/tools/regression/sockets/sigpipe/ |
| H A D | sigpipe.c | 131 #ifdef SO_NOSIGPIPE 138 if (setsockopt(sock2, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in test_send_dontsignal() 165 #ifdef SO_NOSIGPIPE 172 if (setsockopt(sock2, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in test_write_dontsignal() 262 #ifndef SO_NOSIGPIPE in main() 274 #ifdef SO_NOSIGPIPE in main() 286 #ifdef SO_NOSIGPIPE in main() 301 #ifdef SO_NOSIGPIPE in main() 311 #ifdef SO_NOSIGPIPE in main()
|
| /freebsd/crypto/krb5/src/include/ |
| H A D | port-sockets.h | 228 #ifdef SO_NOSIGPIPE in socket_connect() 236 #ifdef SO_NOSIGPIPE in socket_connect() 237 st = setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &set, sizeof(set)); in socket_connect()
|
| /freebsd/tools/regression/sockets/listen_kqueue/ |
| H A D | listen_kqueue.c | 64 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)) == -1) in main()
|
| /freebsd/cddl/lib/libdtrace/ |
| H A D | socket.d | 56 #pragma D binding "1.13" SO_NOSIGPIPE 57 inline int SO_NOSIGPIPE = 0x0800; /* no SIGPIPE from EPIPE */ variable
|
| /freebsd/contrib/blocklist/lib/ |
| H A D | old_bl.c | 176 #ifdef SO_NOSIGPIPE in bl_init() 178 setsockopt(b->b_fd, SOL_SOCKET, SO_NOSIGPIPE, &o, sizeof(o)); in bl_init()
|
| H A D | bl.c | 176 #ifdef SO_NOSIGPIPE in bl_init() 178 setsockopt(b->b_fd, SOL_SOCKET, SO_NOSIGPIPE, &o, sizeof(o)); in bl_init()
|
| /freebsd/sys/netinet/ |
| H A D | sctp_syscalls.c | 282 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in sys_sctp_generic_sendmsg() 397 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in sys_sctp_generic_sendmsg_iov()
|
| /freebsd/contrib/libpcap/ |
| H A D | sockutils.c | 434 #ifdef SO_NOSIGPIPE in sock_create_socket() 452 #ifdef SO_NOSIGPIPE in sock_create_socket() 453 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, (char *)&on, in sock_create_socket()
|
| /freebsd/lib/libc/resolv/ |
| H A D | res_send.c | 623 #ifdef SO_NOSIGPIPE in send_vc() 674 #ifdef SO_NOSIGPIPE in send_vc() 682 (void)_setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on, in send_vc()
|
| /freebsd/tools/tools/netrate/tcpp/ |
| H A D | tcpp_server.c | 236 if (setsockopt(listen_sock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) in tcpp_server_worker()
|
| H A D | tcpp_client.c | 105 if (setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in tcpp_client_newconn()
|
| /freebsd/sys/kern/ |
| H A D | uipc_debug.c | 131 if (so_options & SO_NOSIGPIPE) { in db_print_sooptions()
|
| H A D | uipc_socket.c | 1202 SO_DONTROUTE | SO_LINGER | SO_OOBINLINE | SO_NOSIGPIPE); 2654 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0 && 3874 case SO_NOSIGPIPE: 4125 case SO_NOSIGPIPE:
|
| /freebsd/sys/sys/ |
| H A D | socket.h | 142 #define SO_NOSIGPIPE 0x00000800 /* no SIGPIPE from EPIPE */ macro
|
| /freebsd/libexec/phttpget/ |
| H A D | phttpget.c | 375 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, in main()
|
| /freebsd/usr.sbin/bhyve/slirp/ |
| H A D | slirp-helper.c | 96 (void)setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &one, sizeof(int)); in slirp_cb_register_poll_fd()
|
| /freebsd/lib/libfetch/ |
| H A D | common.c | 289 (void)setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)); in fetch_reopen()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | gdb.c | 2122 if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) == in new_connection()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_cpl_io.c | 2645 if ((so->so_options & SO_NOSIGPIPE) == 0) { in t4_aiotx_process_job()
|