| /freebsd-14.2/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-14.2/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-14.2/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-14.2/contrib/blocklist/lib/ |
| H A 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-14.2/sys/netinet/ |
| H A D | sctp_syscalls.c | 283 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in sys_sctp_generic_sendmsg() 398 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && in sys_sctp_generic_sendmsg_iov()
|
| /freebsd-14.2/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-14.2/lib/libc/resolv/ |
| H A D | res_send.c | 632 #ifdef SO_NOSIGPIPE in send_vc() 683 #ifdef SO_NOSIGPIPE in send_vc() 691 (void)_setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on, in send_vc()
|
| /freebsd-14.2/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-14.2/sys/kern/ |
| H A D | uipc_debug.c | 131 if (so_options & SO_NOSIGPIPE) { in db_print_sooptions()
|
| H A D | uipc_socket.c | 1161 SO_LINGER | SO_OOBINLINE | SO_NOSIGPIPE); 2545 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0 && 3815 case SO_NOSIGPIPE: 4081 case SO_NOSIGPIPE:
|
| /freebsd-14.2/sys/sys/ |
| H A D | socket.h | 143 #define SO_NOSIGPIPE 0x00000800 /* no SIGPIPE from EPIPE */ macro
|
| /freebsd-14.2/libexec/phttpget/ |
| H A D | phttpget.c | 376 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, in main()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | net_backend_slirp.c | 200 (void)setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &one, sizeof(int)); in slirp_cb_register_poll_fd()
|
| H A D | gdb.c | 1976 if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) == in new_connection()
|
| /freebsd-14.2/lib/libfetch/ |
| H A D | common.c | 287 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof opt); in fetch_reopen()
|
| /freebsd-14.2/sys/dev/cxgbe/tom/ |
| H A D | t4_cpl_io.c | 2199 if ((so->so_options & SO_NOSIGPIPE) == 0) { in t4_aiotx_process_job()
|