Defined in 3 files as a prototype:
Defined in 2 files as a member:
Defined in 3 files as a macro:
Defined in 1 files as a function:
Referenced in 132 files:
- contrib/apr/network_io/unix/sockaddr.c, line 83
- contrib/blacklist/bin/conf.c, line 1014
- contrib/ipfilter/ipsend/iptests.c, line 1130
- contrib/ipfilter/ipsend/lsock.c, line 226
- contrib/ipfilter/ipsend/sirix.c, line 69
- contrib/ipfilter/ipsend/sock.c, line 426
- contrib/ipfilter/samples/proxy.c, 3 times
- contrib/ipfilter/samples/relay.c, line 136
- contrib/libevent/evutil.c, 4 times
- contrib/libevent/listener.c, line 826
- contrib/libevent/sample/http-server.c, line 388
- contrib/libevent/test/regress_bufferevent.c, line 660
- contrib/libevent/test/regress_dns.c, 2 times
- contrib/libevent/test/regress_listener.c, 2 times
- contrib/libevent/test/regress_ssl.c, line 709
- contrib/libevent/test/regress_testutils.c, 2 times
- contrib/libevent/test/test-fdleak.c, line 144
- contrib/libevent/test/test-ratelim.c, line 305
- contrib/libpcap/pcap-rpcap.c, 3 times
- contrib/libpcap/sockutils.c, line 1312
- contrib/llvm/tools/lldb/source/Host/common/TCPSocket.cpp, 4 times
- contrib/llvm/tools/lldb/source/Host/common/UDPSocket.cpp, line 132
- contrib/netbsd-tests/kernel/t_kauth_pr_47598.c, line 135
- contrib/netbsd-tests/lib/libc/sys/t_connect.c, line 90
- contrib/netbsd-tests/lib/libc/sys/t_getsockname.c, 2 times
- contrib/netbsd-tests/net/net/t_pktinfo.c, line 75
- contrib/netbsd-tests/net/net/t_tcp.c, line 99
- contrib/netbsd-tests/net/net/t_unix.c, line 216
- contrib/ntp/lib/isc/socket_api.c, line 172
- contrib/ntp/lib/isc/unix/net.c, line 166
- contrib/ntp/lib/isc/unix/socket.c, 2 times
- contrib/ntp/lib/isc/win32/socket.c, 2 times
- contrib/ntp/libntp/machines.c, line 184
- contrib/ntp/ntpd/ntp_io.c, line 4056
- contrib/ntp/ntpd/ntpd.c, line 1271
- contrib/ntp/sntp/libevent/evutil.c, 4 times
- contrib/ntp/sntp/libevent/listener.c, line 825
- contrib/ntp/sntp/libevent/test/regress_bufferevent.c, line 785
- contrib/ntp/sntp/libevent/test/regress_dns.c, 2 times
- contrib/ntp/sntp/libevent/test/regress_listener.c, 2 times
- contrib/ntp/sntp/libevent/test/regress_ssl.c, line 454
- contrib/ntp/sntp/libevent/test/regress_testutils.c, 2 times
- contrib/ntp/sntp/libevent/test/test-fdleak.c, line 144
- contrib/ntp/sntp/libevent/test/test-ratelim.c, line 303
- contrib/ofed/librdmacm/preload.c, 5 times
- contrib/ofed/librdmacm/rsocket.c, 3 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 649
- contrib/openbsm/bin/auditdistd/proto_uds.c, line 277
- contrib/opie/opieftpd.c, 2 times
- contrib/pf/ftp-proxy/ftp-proxy.c, 2 times
- contrib/pf/tftp-proxy/tftp-proxy.c, 3 times
- contrib/sendmail/libsm/mpeix.c, line 214
- contrib/sendmail/src/daemon.c, 4 times
- contrib/sendmail/src/srvrsmtp.c, 2 times
- contrib/sendmail/src/usersmtp.c, 2 times
- contrib/sendmail/src/util.c, line 1846
- contrib/tcp_wrappers/fix_options.c, line 59
- contrib/tcp_wrappers/socket.c, line 129
- contrib/tcp_wrappers/workarounds.c, line 142
- contrib/tnftp/src/ftp.c, 2 times
- contrib/wpa/src/radius/radius_client.c, 2 times
- crypto/heimdal/appl/ftp/ftp/ftp.c, 2 times
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 3 times
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 292
- crypto/heimdal/appl/rsh/rsh.c, 2 times
- crypto/heimdal/appl/rsh/rshd.c, line 617
- crypto/heimdal/appl/test/gssapi_client.c, line 156
- crypto/heimdal/appl/test/gssapi_server.c, line 154
- crypto/heimdal/appl/test/nt_gss_client.c, line 75
- crypto/heimdal/appl/test/nt_gss_server.c, line 80
- crypto/heimdal/appl/test/uu_client.c, line 56
- crypto/heimdal/appl/test/uu_server.c, line 54
- crypto/heimdal/lib/krb5/auth_context.c, line 173
- crypto/heimdal/lib/krb5/sock_principal.c, line 49
- crypto/heimdal/lib/roken/socket_wrapper.c, line 140
- crypto/heimdal/lib/roken/socket_wrapper.h, 2 times
- crypto/openssh/canohost.c, 2 times
- crypto/openssh/openbsd-compat/bindresvport.c, line 69
- crypto/openssh/packet.c, line 472
- crypto/openssl/crypto/bio/b_sock.c, line 349
- crypto/openssl/crypto/bio/bss_dgram.c, 2 times
- lib/libbluetooth/hci.c, line 629
- lib/libc/include/un-namespace.h, line 60
- lib/libcompat/4.3/rexec.c, line 350
- lib/libfetch/ftp.c, 2 times
- lib/libsdp/session.c, line 197
- libexec/bootpd/bootpd.c, line 235
- libexec/bootpd/bootpgw/bootpgw.c, line 204
- libexec/comsat/comsat.c, line 91
- libexec/ftpd/ftpd.c, 3 times
- libexec/rpc.rquotad/rquotad.c, line 75
- libexec/rpc.rstatd/rstatd.c, line 74
- libexec/rpc.rusersd/rusersd.c, line 68
- libexec/rpc.rwalld/rwalld.c, line 89
- libexec/rpc.sprayd/sprayd.c, line 86
- libexec/tftpd/tftpd.c, line 388
- sbin/hastd/proto_tcp.c, line 578
- sbin/hastd/proto_uds.c, line 279
- sbin/ping6/ping6.c, line 1001
- share/doc/psd/20.ipctut/dgramread.c, line 69
- share/doc/psd/20.ipctut/strchkread.c, line 69
- share/doc/psd/20.ipctut/streamread.c, line 69
- share/examples/find_interface/find_interface.c, line 105
- sys/kern/init_sysent.c, line 202
- tests/sys/capsicum/ioctls_test.c, line 91
- tests/sys/netinet/reuseport_lb.c, 2 times
- tools/regression/netinet/tcpdrop/tcpdrop.c, 2 times
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, line 147
- tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c, 2 times
- tools/regression/security/cap_test/cap_test_capmode.c, 2 times
- tools/regression/sockets/listenclose/listenclose.c, line 81
- tools/regression/sockets/shutdown/shutdown.c, line 72
- tools/regression/sockets/udp_pingpong/udp_pingpong.c, 2 times
- tools/regression/sockets/unix_gc/unix_gc.c, line 196
- usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c, line 222
- usr.bin/talk/ctl.c, 2 times
- usr.bin/talk/get_iface.c, line 93
- usr.sbin/bluetooth/bthidd/session.c, line 128
- usr.sbin/bluetooth/btpand/server.c, line 234
- usr.sbin/bluetooth/sdpd/server.c, line 319
- usr.sbin/inetd/builtins.c, line 531
- usr.sbin/inetd/inetd.c, line 1334
- usr.sbin/nfscbd/nfscbd.c, line 233
- usr.sbin/ppp/ether.c, line 691
- usr.sbin/ppp/netgraph.c, line 720
- usr.sbin/ppp/server.c, line 396
- usr.sbin/rpc.yppasswdd/yppasswdd_main.c, line 257
- usr.sbin/rpc.ypupdated/ypupdated_main.c, line 217
- usr.sbin/rpc.ypxfrd/ypxfrd_main.c, line 218
- usr.sbin/traceroute/findsaddr-udp.c, line 76
- usr.sbin/traceroute6/traceroute6.c, 2 times
- usr.sbin/ypserv/yp_main.c, line 358