Defined in 4 files as a prototype:
Defined in 6 files as a member:
Defined in 5 files as a macro:
Defined in 4 files as a function:
Referenced in 134 files:
- contrib/apr/network_io/unix/sockets.c, line 234
- contrib/blacklist/test/srvtest.c, line 145
- contrib/bsnmp/snmpd/trans_lsock.c, 2 times
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 192
- contrib/gdb/gdb/gdbserver/gdbreplay.c, line 133
- contrib/gdb/gdb/gdbserver/remote-utils.c, line 141
- contrib/gdb/gdb/wince.c, line 1712
- contrib/gdtoa/gdtoa.c, 3 times
- contrib/jemalloc/src/jemalloc.c, 8 times
- contrib/libevent/evutil.c, 2 times
- contrib/libpcap/pcap-rpcap.c, 2 times
- contrib/libxo/libxo/libxo.c, 2 times
- contrib/llvm/lib/Option/OptTable.cpp, line 304
- contrib/llvm/tools/clang/lib/Index/IndexingContext.cpp, 4 times
- contrib/llvm/tools/lldb/source/Host/common/Socket.cpp, line 460
- contrib/llvm/tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp, 15 times
- contrib/netbsd-tests/net/net/t_unix.c, line 111
- contrib/netcat/netcat.c, line 445
- contrib/ntp/lib/isc/unix/socket.c, 2 times
- contrib/ntp/sntp/libevent/evutil.c, 2 times
- contrib/ofed/libibverbs/examples/rc_pingpong.c, line 277
- contrib/ofed/libibverbs/examples/srq_pingpong.c, line 287
- contrib/ofed/libibverbs/examples/uc_pingpong.c, line 251
- contrib/ofed/libibverbs/examples/ud_pingpong.c, line 249
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, line 636
- contrib/ofed/librdmacm/examples/common.h, line 50
- contrib/ofed/librdmacm/preload.c, 4 times
- contrib/ofed/opensm/opensm/osm_console.c, line 1871
- contrib/one-true-awk/b.c, 10 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 458
- contrib/openbsm/bin/auditdistd/proto_uds.c, line 215
- contrib/opie/opieauto.c, line 370
- contrib/opie/opieftpd.c, line 855
- contrib/pf/ftp-proxy/ftp-proxy.c, line 398
- contrib/sendmail/libmilter/listener.c, line 806
- contrib/sendmail/src/daemon.c, 2 times
- contrib/serf/incoming.c, 2 times
- contrib/telnet/telnetd/telnetd.c, line 367
- contrib/tnftp/src/ftp.c, line 1696
- contrib/unbound/util/netevent.c, line 787
- contrib/wpa/src/wps/http_server.c, line 207
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 1425
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1240
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 302
- crypto/heimdal/appl/rsh/rsh.c, line 509
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, 2 times
- crypto/heimdal/appl/test/gssapi_server.c, line 325
- crypto/heimdal/appl/test/nt_gss_server.c, line 181
- crypto/heimdal/appl/test/uu_server.c, line 200
- crypto/heimdal/kadmin/kadm_conn.c, line 137
- crypto/heimdal/kdc/connect.c, line 557
- crypto/heimdal/lib/ipc/server.c, line 631
- crypto/heimdal/lib/kadm5/ipropd_master.c, line 295
- crypto/heimdal/lib/roken/mini_inetd.c, line 48
- crypto/heimdal/lib/roken/socket_wrapper.c, line 135
- crypto/heimdal/lib/roken/socket_wrapper.h, 2 times
- crypto/openssh/channels.c, 4 times
- crypto/openssh/regress/netcat.c, line 417
- crypto/openssh/ssh-agent.c, line 843
- crypto/openssh/sshd.c, line 1228
- crypto/openssl/crypto/bio/b_sock2.c, line 289
- crypto/openssl/engines/e_afalg.c, line 393
- gnu/usr.bin/grep/kwset.c, 9 times
- lib/libc/include/un-namespace.h, line 34
- lib/libc/sys/interposing_table.c, line 42
- lib/libcompat/4.3/rexec.c, line 360
- lib/libfetch/ftp.c, line 876
- lib/libpmcstat/libpmcstat_logging.c, line 489
- lib/libthr/thread/thr_syscalls.c, line 649
- libexec/ftpd/ftpd.c, 2 times
- release/picobsd/tinyware/simple_httpd/simple_httpd.c, line 135
- sbin/devd/devd.cc, line 1010
- sbin/ggate/ggated/ggated.c, line 1052
- sbin/hastd/proto_tcp.c, line 461
- sbin/hastd/proto_uds.c, line 217
- share/doc/psd/20.ipctut/strchkread.c, line 86
- share/doc/psd/20.ipctut/streamread.c, line 78
- share/doc/psd/20.ipctut/ustreamread.c, line 67
- stand/ficl/words.c, line 4899
- sys/dev/cxgbe/iw_cxgbe/provider.c, line 510
- sys/dev/de/if_de.c, 3 times
- sys/dev/qlnx/qlnxe/qlnx_os.c, 7 times
- sys/kern/init_sysent.c, line 151
- sys/ofed/drivers/infiniband/core/ib_iwcm.c, line 547
- tests/sys/audit/network.c, 5 times
- tests/sys/capsicum/ioctls_test.c, line 100
- tests/sys/file/newfileops_on_fork_test.c, line 64
- tests/sys/kern/unix_seqpacket_test.c, 4 times
- tests/sys/netinet/reuseport_lb.c, line 81
- tests/sys/netinet/tcp_user_cookie.c, line 93
- tools/regression/netinet/tcpconnect/tcpconnect.c, line 87
- tools/regression/netinet/tcpdrop/tcpdrop.c, line 77
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, line 93
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, line 105
- tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c, line 58
- tools/regression/netinet/tcpstream/tcpstream.c, line 142
- tools/regression/security/cap_test/cap_test_capmode.c, line 132
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, 2 times
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, 3 times
- tools/regression/sockets/listen_kqueue/listen_kqueue.c, line 106
- tools/regression/sockets/sendfile/sendfile.c, line 218
- tools/regression/sockets/sigpipe/sigpipe.c, line 240
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 134
- tools/regression/sockets/unix_cmsg/uc_common.c, line 376
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, line 58
- tools/regression/sockets/zerosend/zerosend.c, line 160
- tools/test/net/listen.c, 3 times
- tools/test/netfibs/reflect.c, line 136
- tools/tools/kttcp/kttcp.c, line 241
- tools/tools/net80211/w00t/redir/buddy.c, line 150
- tools/tools/netrate/httpd/httpd.c, line 169
- tools/tools/netrate/tcpp/tcpp_server.c, line 83
- tools/tools/netrate/tcpreceive/tcpreceive.c, line 63
- usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c, line 246
- usr.bin/talk/invite.c, line 99
- usr.sbin/bhyve/mevent_test.c, line 227
- usr.sbin/bhyve/pci_virtio_console.c, line 368
- usr.sbin/bhyve/rfb.c, line 934
- usr.sbin/bluetooth/bthidd/server.c, line 237
- usr.sbin/bluetooth/btpand/server.c, line 163
- usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c, line 328
- usr.sbin/bluetooth/sdpd/server.c, line 301
- usr.sbin/ctld/ctld.c, line 2484
- usr.sbin/ctld/kernel.c, 4 times
- usr.sbin/dconschat/dconschat.c, line 705
- usr.sbin/inetd/inetd.c, line 634
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/moused/moused.c, line 3411
- usr.sbin/nfscbd/nfscbd.c, line 298
- usr.sbin/nfsd/nfsd.c, 2 times
- usr.sbin/nscd/nscd.c, line 241
- usr.sbin/ppp/server.c, line 105
- usr.sbin/rtadvd/control.c, line 234