Home
last modified time | relevance | path

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

/freebsd/tools/regression/sockets/sigpipe/
H A Dsigpipe.c131 #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 Dport-sockets.h228 #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 Dlisten_kqueue.c64 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)) == -1) in main()
/freebsd/cddl/lib/libdtrace/
H A Dsocket.d56 #pragma D binding "1.13" SO_NOSIGPIPE
57 inline int SO_NOSIGPIPE = 0x0800; /* no SIGPIPE from EPIPE */ variable
/freebsd/contrib/blocklist/lib/
H A Dold_bl.c176 #ifdef SO_NOSIGPIPE in bl_init()
178 setsockopt(b->b_fd, SOL_SOCKET, SO_NOSIGPIPE, &o, sizeof(o)); in bl_init()
H A Dbl.c176 #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 Dsctp_syscalls.c282 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 Dsockutils.c434 #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 Dres_send.c623 #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 Dtcpp_server.c236 if (setsockopt(listen_sock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) in tcpp_server_worker()
H A Dtcpp_client.c105 if (setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)) < 0) in tcpp_client_newconn()
/freebsd/sys/kern/
H A Duipc_debug.c131 if (so_options & SO_NOSIGPIPE) { in db_print_sooptions()
H A Duipc_socket.c1202 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 Dsocket.h142 #define SO_NOSIGPIPE 0x00000800 /* no SIGPIPE from EPIPE */ macro
/freebsd/libexec/phttpget/
H A Dphttpget.c375 setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, in main()
/freebsd/usr.sbin/bhyve/slirp/
H A Dslirp-helper.c96 (void)setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &one, sizeof(int)); in slirp_cb_register_poll_fd()
/freebsd/lib/libfetch/
H A Dcommon.c289 (void)setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt)); in fetch_reopen()
/freebsd/usr.sbin/bhyve/
H A Dgdb.c2122 if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) == in new_connection()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c2645 if ((so->so_options & SO_NOSIGPIPE) == 0) { in t4_aiotx_process_job()