Defined in 3 files as a prototype:
Defined in 3 files as a member:
Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 154 files:
- contrib/apr/network_io/unix/sockets.c, line 241
- contrib/bearssl/samples/server_basic.c, line 171
- contrib/bearssl/tools/server.c, line 151
- contrib/blacklist/test/srvtest.c, line 132
- contrib/bsnmp/snmpd/trans_lsock.c, line 329
- contrib/capsicum-test/sctp.cc, 2 times
- contrib/capsicum-test/socket.cc, 4 times
- contrib/gdb/gdb/gdbserver/gdbreplay.c, line 129
- contrib/gdb/gdb/gdbserver/remote-utils.c, line 135
- contrib/gdb/gdb/wince.c, line 1701
- contrib/lib9p/transport/socket.c, line 104
- contrib/libevent/evutil.c, line 255
- contrib/libevent/http.c, line 3510
- contrib/libevent/listener.c, 4 times
- contrib/libpcap/sockutils.c, line 394
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 4 times
- contrib/llvm-project/lldb/source/Host/common/TCPSocket.cpp, line 225
- contrib/llvm-project/lldb/source/Host/posix/DomainSocket.cpp, line 106
- contrib/netbsd-tests/kernel/t_kauth_pr_47598.c, line 129
- contrib/netbsd-tests/lib/libc/sys/t_connect.c, line 67
- contrib/netbsd-tests/lib/libc/sys/t_listen.c, 4 times
- contrib/netbsd-tests/net/net/t_tcp.c, line 103
- contrib/netbsd-tests/net/net/t_unix.c, line 179
- contrib/netcat/netcat.c, 2 times
- contrib/ntp/lib/isc/unix/socket.c, line 5160
- contrib/ntp/lib/isc/win32/socket.c, line 3280
- contrib/ntp/sntp/libevent/evutil.c, line 254
- contrib/ntp/sntp/libevent/http.c, line 3361
- contrib/ntp/sntp/libevent/listener.c, 4 times
- contrib/ofed/libibverbs/examples/rc_pingpong.c, line 276
- contrib/ofed/libibverbs/examples/srq_pingpong.c, line 286
- contrib/ofed/libibverbs/examples/uc_pingpong.c, line 250
- contrib/ofed/libibverbs/examples/ud_pingpong.c, line 248
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, line 633
- contrib/ofed/librdmacm/cma.c, 8 times
- contrib/ofed/librdmacm/examples/common.h, line 48
- contrib/ofed/librdmacm/preload.c, 3 times
- contrib/ofed/librdmacm/rdma_cma.h, line 444
- contrib/ofed/opensm/opensm/osm_console_io.c, line 235
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 428
- contrib/openbsm/bin/auditdistd/proto_uds.c, line 186
- contrib/opie/opieauto.c, line 323
- contrib/opie/opieftpd.c, line 1345
- contrib/pf/ftp-proxy/ftp-proxy.c, line 754
- contrib/sendmail/libmilter/listener.c, line 523
- contrib/sendmail/src/control.c, line 148
- contrib/sendmail/src/daemon.c, line 1237
- contrib/telnet/telnetd/telnetd.c, line 359
- contrib/tnftp/src/util.c, line 1470
- contrib/unbound/dnstap/unbound-dnstap-socket.c, line 303
- contrib/unbound/services/listen_dnsport.c, 23 times
- contrib/unbound/services/listen_dnsport.h, 5 times
- contrib/wpa/src/common/dpp.c, line 10033
- contrib/wpa/src/wps/http_server.c, line 280
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 1325
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 2 times
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 288
- crypto/heimdal/appl/rsh/rsh.c, line 474
- crypto/heimdal/appl/test/gssapi_server.c, line 322
- crypto/heimdal/appl/test/nt_gss_server.c, line 178
- crypto/heimdal/appl/test/uu_server.c, line 197
- crypto/heimdal/kadmin/kadm_conn.c, line 282
- crypto/heimdal/kdc/connect.c, line 294
- crypto/heimdal/lib/ipc/server.c, line 1112
- crypto/heimdal/lib/ipc/ts-http.c, line 103
- crypto/heimdal/lib/kadm5/ipropd_master.c, 2 times
- crypto/heimdal/lib/roken/mini_inetd.c, line 121
- crypto/heimdal/lib/roken/socket_wrapper.c, line 138
- crypto/heimdal/lib/roken/socket_wrapper.h, 2 times
- crypto/openssh/channels.c, 2 times
- crypto/openssh/misc.c, line 1523
- crypto/openssh/regress/netcat.c, 2 times
- crypto/openssh/sshd.c, line 1121
- crypto/openssl/crypto/bio/b_sock2.c, line 265
- lib/libc/include/un-namespace.h, line 64
- lib/libc/tests/sys/sendfile_test.c, line 199
- lib/libcompat/4.3/rexec.c, line 348
- lib/libfetch/ftp.c, line 813
- lib/libpmcstat/libpmcstat_logging.c, line 488
- libexec/ftpd/ftpd.c, 3 times
- sbin/devd/devd.cc, 5 times
- sbin/ggate/ggated/ggated.c, line 1057
- sbin/hastd/proto_tcp.c, line 433
- sbin/hastd/proto_uds.c, line 190
- share/doc/psd/20.ipctut/strchkread.c, line 76
- share/doc/psd/20.ipctut/streamread.c, line 76
- share/doc/psd/20.ipctut/ustreamread.c, line 65
- tests/sys/audit/network.c, 8 times
- tests/sys/capsicum/ioctls_test.c, line 91
- tests/sys/file/newfileops_on_fork_test.c, line 117
- tests/sys/fs/fusefs/fifo.cc, line 198
- tests/sys/kern/sendfile_helper.c, line 123
- tests/sys/kern/unix_seqpacket_test.c, 6 times
- tests/sys/netinet/so_reuseport_lb_test.c, 4 times
- tests/sys/netinet/tcp_user_cookie.c, line 84
- tools/regression/netinet/tcpconnect/tcpconnect.c, line 83
- tools/regression/netinet/tcpdrop/tcpdrop.c, line 227
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, line 86
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, line 96
- tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c, 2 times
- tools/regression/netinet/tcpstream/tcpstream.c, line 135
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, line 107
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, line 159
- tools/regression/sockets/listen_backlog/listen_backlog.c, 3 times
- tools/regression/sockets/listen_kqueue/listen_kqueue.c, line 81
- tools/regression/sockets/listenclose/listenclose.c, line 86
- tools/regression/sockets/sendfile/sendfile.c, line 212
- tools/regression/sockets/shutdown/shutdown.c, line 77
- tools/regression/sockets/sigpipe/sigpipe.c, line 206
- tools/regression/sockets/unix_bindconnect/unix_bindconnect.c, line 246
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 95
- tools/regression/sockets/unix_cmsg/uc_common.c, line 158
- tools/regression/sockets/unix_gc/unix_gc.c, line 180
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, line 113
- tools/regression/sockets/zerosend/zerosend.c, line 137
- tools/test/net/listen.c, 2 times
- tools/test/netfibs/reflect.c, line 245
- tools/tools/kttcp/kttcp.c, line 236
- tools/tools/net80211/w00t/redir/buddy.c, line 142
- tools/tools/netrate/httpd/httpd.c, line 277
- tools/tools/netrate/netreceive/netreceive.c, line 257
- tools/tools/netrate/tcpp/tcpp_server.c, line 252
- tools/tools/netrate/tcpreceive/tcpreceive.c, line 106
- usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c, line 218
- usr.bin/talk/invite.c, line 78
- usr.sbin/bhyve/dbgport.c, line 166
- usr.sbin/bhyve/gdb.c, line 1837
- usr.sbin/bhyve/mevent_test.c, line 217
- usr.sbin/bhyve/pci_virtio_console.c, line 328
- usr.sbin/bhyve/rfb.c, line 1025
- usr.sbin/bhyve/snapshot.c, line 1584
- usr.sbin/bluetooth/bthidd/server.c, 2 times
- usr.sbin/bluetooth/btpand/server.c, line 125
- usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c, line 234
- usr.sbin/bluetooth/sdpd/server.c, 2 times
- usr.sbin/ctld/ctld.c, line 2253
- usr.sbin/ctld/ctld.h, line 353
- usr.sbin/ctld/kernel.c, 7 times
- usr.sbin/dconschat/dconschat.c, line 687
- usr.sbin/gssd/gssd.c, line 217
- usr.sbin/inetd/inetd.c, line 1384
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/mountd/mountd.c, line 1046
- usr.sbin/moused/moused.c, line 3358
- usr.sbin/nfscbd/nfscbd.c, line 274
- usr.sbin/nfsd/nfsd.c, 2 times
- usr.sbin/nscd/nscd.c, line 200
- usr.sbin/ppp/server.c, 2 times
- usr.sbin/rpc.lockd/lockd.c, 2 times
- usr.sbin/rpc.statd/statd.c, line 560
- usr.sbin/rpcbind/rpcbind.c, 2 times
- usr.sbin/rtadvd/control.c, line 272
- usr.sbin/syslogd/syslogd.c, line 3914
- usr.sbin/ypserv/yp_main.c, line 321