Defined in 4 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a macro:
Referenced in 137 files:
- crypto/dist/ipsec-tools/src/racoon/sockmisc.c, 3 times
- crypto/external/bsd/heimdal/dist/kpasswd/kpasswdd.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/auth_context.c, line 202
- crypto/external/bsd/heimdal/dist/lib/krb5/sock_principal.c, line 51
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.c, line 142
- crypto/external/bsd/heimdal/dist/lib/roken/socket_wrapper.h, 2 times
- crypto/external/bsd/heimdal/include/roken.h, line 288
- crypto/external/bsd/openssh/dist/canohost.c, 2 times
- crypto/external/bsd/openssh/dist/packet.c, line 461
- crypto/external/bsd/openssl/dist/apps/vms_term_sock.c, line 340
- crypto/external/bsd/openssl/dist/crypto/bio/b_sock.c, line 349
- crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c, 2 times
- dist/pf/libexec/tftp-proxy/tftp-proxy.c, 3 times
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, 2 times
- external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c, line 79
- external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c, 2 times
- external/bsd/blacklist/bin/conf.c, line 1014
- external/bsd/fetch/dist/libfetch/ftp.c, 2 times
- external/bsd/ipf/dist/ipsend/iptests.c, line 1133
- external/bsd/ipf/dist/ipsend/lsock.c, line 228
- external/bsd/ipf/dist/ipsend/sirix.c, line 69
- external/bsd/ipf/dist/ipsend/sock.c, line 430
- external/bsd/ipf/dist/samples/proxy.c, 3 times
- external/bsd/ipf/dist/samples/relay.c, line 136
- external/bsd/iscsi/dist/src/lib/target.c, 2 times
- external/bsd/iscsi/dist/src/lib/util.c, line 770
- external/bsd/libbind/dist/isc/ev_connects.c, 3 times
- external/bsd/libevent/dist/evutil.c, 4 times
- external/bsd/libevent/dist/listener.c, line 829
- external/bsd/libevent/dist/sample/http-server.c, line 389
- external/bsd/libevent/dist/test/regress_bufferevent.c, line 665
- external/bsd/libevent/dist/test/regress_dns.c, 2 times
- external/bsd/libevent/dist/test/regress_listener.c, 2 times
- external/bsd/libevent/dist/test/regress_ssl.c, line 711
- external/bsd/libevent/dist/test/regress_testutils.c, 2 times
- external/bsd/libevent/dist/test/test-fdleak.c, line 147
- external/bsd/libevent/dist/test/test-ratelim.c, line 306
- external/bsd/libpcap/dist/pcap-rpcap.c, 3 times
- external/bsd/libpcap/dist/rpcapd/daemon.c, line 1669
- external/bsd/libpcap/dist/sockutils.c, line 1312
- external/bsd/llvm/dist/clang/test/Analysis/casts.c, line 23
- external/bsd/ntp/dist/lib/isc/socket_api.c, line 174
- external/bsd/ntp/dist/lib/isc/unix/net.c, line 168
- external/bsd/ntp/dist/lib/isc/unix/socket.c, 2 times
- external/bsd/ntp/dist/lib/isc/win32/socket.c, 2 times
- external/bsd/ntp/dist/libntp/machines.c, line 186
- external/bsd/ntp/dist/ntpd/ntp_io.c, line 4058
- external/bsd/ntp/dist/ntpd/ntpd.c, line 1286
- external/bsd/ntp/dist/sntp/libevent/evutil.c, 4 times
- external/bsd/ntp/dist/sntp/libevent/listener.c, line 827
- external/bsd/ntp/dist/sntp/libevent/test/regress_bufferevent.c, line 787
- external/bsd/ntp/dist/sntp/libevent/test/regress_dns.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/test/regress_listener.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/test/regress_ssl.c, line 456
- external/bsd/ntp/dist/sntp/libevent/test/regress_testutils.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/test/test-fdleak.c, line 146
- external/bsd/ntp/dist/sntp/libevent/test/test-ratelim.c, line 305
- external/bsd/openldap/dist/libraries/liblutil/getpeereid.c, line 122
- external/bsd/openldap/dist/libraries/liblutil/sockpair.c, line 63
- external/bsd/ppp/dist/pppd/plugins/pppol2tp/pppol2tp.c, line 135
- external/bsd/wpa/dist/src/radius/radius_client.c, 2 times
- external/gpl2/gmake/dist/remote-cstms.c, line 163
- external/gpl2/xcvs/dist/src/kerberos4-client.c, line 82
- external/gpl2/xcvs/dist/src/server.c, line 7355
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1249
- external/gpl3/gdb/dist/gdb/gdbserver/remote-utils.c, line 405
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_socket.in.h, 10 times
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_time.in.h, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/unistd.in.h, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/info-os.c, line 139
- external/ibm-public/postfix/dist/src/postscreen/postscreen_endpt.c, line 148
- external/ibm-public/postfix/dist/src/util/vstream_tweak.c, line 73
- external/ibm-public/postfix/dist/src/xsasl/xsasl_dovecot_server.c, line 469
- external/mpl/bind/dist/lib/isc/unix/net.c, 2 times
- external/mpl/bind/dist/lib/isc/unix/socket.c, 3 times
- external/mpl/bind/dist/lib/isc/win32/socket.c, 3 times
- external/mpl/dhcp/dist/omapip/connection.c, line 717
- games/hunt/huntd/driver.c, 2 times
- lib/libc/net/getaddrinfo.c, line 915
- lib/libc/net/getpeereid.c, line 52
- lib/libc/rpc/bindresvport.c, 2 times
- lib/libc/rpc/rpc_generic.c, 2 times
- lib/libc/rpc/svc_dg.c, line 154
- lib/libc/rpc/svc_vc.c, 2 times
- lib/libcompat/4.3/rexec.c, line 129
- lib/librumphijack/hijack.c, line 2413
- lib/libwrap/fix_options.c, line 64
- lib/libwrap/socket.c, line 127
- libexec/comsat/comsat.c, line 108
- libexec/ftpd/ftpd.c, 3 times
- libexec/httpd/bozohttpd.c, line 678
- libexec/identd/identd.c, line 355
- libexec/rpc.rquotad/rquotad.c, line 61
- libexec/rpc.rstatd/rstatd.c, line 83
- libexec/rpc.rusersd/rusersd.c, line 74
- libexec/rpc.rwalld/rwalld.c, line 94
- libexec/rpc.sprayd/sprayd.c, line 77
- libexec/rshd/rshd.c, line 197
- libexec/tftpd/tftpd.c, line 393
- sbin/iscsid/iscsid_discover.c, line 429
- sbin/ping6/ping6_hostops.c, line 47
- sbin/ping6/prog_ops.h, line 77
- share/doc/psd/20.ipctut/dgramread.c, line 71
- share/doc/psd/20.ipctut/strchkread.c, line 71
- share/doc/psd/20.ipctut/streamread.c, line 71
- share/examples/refuse/ian/libfetch/ftp.c, 2 times
- sys/compat/linux32/common/linux32_socketcall.c, line 73
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 5 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 683
- sys/rump/net/lib/libsockin/sockin_user.c, line 544
- tests/kernel/t_kauth_pr_47598.c, line 135
- tests/lib/libc/sys/t_connect.c, line 90
- tests/lib/libc/sys/t_getsockname.c, 2 times
- tests/net/net/t_pktinfo.c, line 75
- tests/net/net/t_tcp.c, line 128
- tests/net/net/t_unix.c, line 260
- usr.bin/ftp/ftp.c, 2 times
- usr.bin/rfcomm_sppd/rfcomm_sppd.c, line 450
- usr.bin/rlogin/rlogin.c, line 284
- usr.bin/talk/ctl.c, 2 times
- usr.sbin/bootp/bootpd/bootpd.c, line 224
- usr.sbin/bootp/bootpgw/bootpgw.c, line 187
- usr.sbin/btpand/server.c, line 212
- usr.sbin/faithd/faithd.c, 2 times
- usr.sbin/faithd/ftp.c, 4 times
- usr.sbin/inetd/inetd.c, line 1171
- usr.sbin/ldpd/ldp_command.c, line 438
- usr.sbin/ldpd/mpls_interface.c, line 137
- usr.sbin/ldpd/socketops.c, line 1002
- usr.sbin/map-mbone/mapper.c, line 888
- usr.sbin/mrinfo/mrinfo.c, line 407
- usr.sbin/mrouted/vif.c, 2 times
- usr.sbin/mtrace/mtrace.c, line 1324
- usr.sbin/sdpd/server.c, line 379
- usr.sbin/syslogd/syslogd.c, line 743
- usr.sbin/traceroute/traceroute_hostops.c, line 53
- usr.sbin/traceroute6/traceroute6.c, 2 times