Defined in 8 files as a prototype:
Defined in 5 files as a macro:
Defined in 8 files as a function:
Referenced in 192 files:
- bin/cat/cat.c, line 355
- contrib/apr/network_io/unix/sockaddr.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, line 930
- contrib/bsnmp/snmp_ntp/snmp_ntp.c, 2 times
- contrib/bsnmp/snmpd/config.c, line 789
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/dma/dns.c, line 79
- contrib/hyperv/tools/hv_kvp_daemon.c, line 1082
- contrib/ipfilter/lib/gethost.c, line 66
- contrib/ldns-host/ldns-host.c, line 997
- contrib/ldns/compat/fake-rfc2553.h, 2 times
- contrib/libevent/evutil.c, 4 times
- contrib/libpcap/nametoaddr.c, 3 times
- contrib/libpcap/pcap-rpcap.c, 2 times
- contrib/libpcap/sockutils.c, 2 times
- contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp, line 257
- contrib/llvm/tools/lldb/source/Host/common/UDPSocket.cpp, line 81
- contrib/netbsd-tests/lib/libc/net/getaddrinfo/h_gai.c, line 170
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 107
- contrib/netbsd-tests/net/mcast/mcast.c, line 198
- contrib/netbsd-tests/net/net/t_udp.c, line 31
- contrib/netbsd-tests/net/sys/t_rfc6056.c, line 75
- contrib/netcat/netcat.c, 3 times
- contrib/netcat/socks.c, line 72
- contrib/ntp/libntp/decodenetnum.c, line 75
- contrib/ntp/libntp/is_ip_address.c, line 75
- contrib/ntp/libntp/ntp_intres.c, line 354
- contrib/ntp/libntp/socktohost.c, 3 times
- contrib/ntp/ntpd/ntp_config.c, 3 times
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 447
- contrib/ntp/ntpd/refclock_nmea.c, line 1934
- contrib/ntp/ntpdate/ntpdate.c, 2 times
- contrib/ntp/ntpdc/ntpdc.c, 4 times
- contrib/ntp/ntpq/ntpq.c, 4 times
- contrib/ntp/sntp/libevent/evutil.c, 3 times
- contrib/ofed/libibverbs/examples/rc_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/srq_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/uc_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/ud_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, 2 times
- contrib/ofed/librdmacm/addrinfo.c, 2 times
- contrib/ofed/librdmacm/examples/mckey.c, line 451
- contrib/ofed/librdmacm/examples/rcopy.c, 2 times
- contrib/ofed/librdmacm/examples/riostream.c, 2 times
- contrib/ofed/librdmacm/examples/rping.c, line 1129
- contrib/ofed/librdmacm/examples/rstream.c, 3 times
- contrib/ofed/librdmacm/examples/udpong.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 180
- contrib/openbsm/libauditd/auditd_lib.c, line 282
- contrib/pf/ftp-proxy/ftp-proxy.c, 3 times
- contrib/serf/auth/auth_spnego_sspi.c, line 171
- contrib/tcp_wrappers/hosts_access.c, 4 times
- contrib/tcp_wrappers/scaffold.c, 2 times
- contrib/tcp_wrappers/socket.c, 2 times
- contrib/tcp_wrappers/tcpdchk.c, line 429
- contrib/tcp_wrappers/tcpdmatch.c, line 239
- contrib/tcsh/tc.func.c, 2 times
- contrib/telnet/telnet/commands.c, 6 times
- contrib/telnet/telnetd/telnetd.c, line 345
- contrib/tnftp/src/fetch.c, line 706
- contrib/tnftp/src/ftp.c, line 181
- contrib/tnftp/src/main.c, line 438
- contrib/tnftp/src/util.c, line 1257
- contrib/tnftp/tnftp.h, line 49
- contrib/traceroute/as.c, 2 times
- contrib/unbound/compat/fake-rfc2553.h, 2 times
- contrib/unbound/daemon/remote.c, line 311
- contrib/unbound/services/listen_dnsport.c, line 914
- contrib/wpa/hostapd/ctrl_iface.c, 2 times
- contrib/wpa/src/wps/wps_upnp.c, line 367
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 73
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, line 90
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 627
- crypto/heimdal/appl/kf/kf.c, line 298
- crypto/heimdal/appl/login/utmp_login.c, line 64
- crypto/heimdal/appl/push/push.c, line 109
- crypto/heimdal/appl/rsh/rsh.c, 7 times
- crypto/heimdal/appl/rsh/rshd.c, 7 times
- crypto/heimdal/appl/telnet/telnet/commands.c, 3 times
- crypto/heimdal/appl/test/common.c, line 153
- crypto/heimdal/appl/test/http_client.c, line 60
- crypto/heimdal/kadmin/kadm_conn.c, 2 times
- crypto/heimdal/kdc/hprop.c, line 64
- crypto/heimdal/lib/ipc/ts-http.c, line 85
- crypto/heimdal/lib/kadm5/init_c.c, line 431
- crypto/heimdal/lib/kadm5/ipropd_slave.c, line 64
- crypto/heimdal/lib/kadm5/log.c, line 1031
- crypto/heimdal/lib/krb5/addr_families.c, line 1185
- crypto/heimdal/lib/krb5/expand_hostname.c, 2 times
- crypto/heimdal/lib/krb5/get_for_creds.c, line 235
- crypto/heimdal/lib/krb5/krbhst.c, 4 times
- crypto/heimdal/lib/krb5/send_to_kdc.c, line 285
- crypto/heimdal/lib/krb5/verify_krb5_conf.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo-test.c, line 81
- crypto/heimdal/lib/roken/getaddrinfo_hostspec.c, line 92
- crypto/heimdal/lib/roken/getnameinfo_verified.c, line 74
- crypto/heimdal/lib/roken/mini_inetd.c, line 189
- crypto/heimdal/lib/wind/idn-lookup.c, line 112
- crypto/openssh/addrmatch.c, line 214
- crypto/openssh/audit-bsm.c, line 142
- crypto/openssh/auth.c, 2 times
- crypto/openssh/channels.c, 4 times
- crypto/openssh/dns.c, line 196
- crypto/openssh/openbsd-compat/fake-rfc2553.h, 2 times
- crypto/openssh/regress/netcat.c, 4 times
- crypto/openssh/servconf.c, line 780
- crypto/openssh/ssh-keyscan.c, line 337
- crypto/openssh/ssh.c, 4 times
- crypto/openssh/sshconnect.c, line 364
- crypto/openssl/crypto/bio/b_addr.c, line 693
- lib/libc/net/getaddrinfo.c, 2 times
- lib/libc/net/rcmd.c, 3 times
- lib/libc/net/rcmdsh.c, line 91
- lib/libc/resolv/res_init.c, line 416
- lib/libc/rpc/clnt_bcast.c, line 145
- lib/libc/rpc/rpcb_clnt.c, line 363
- lib/libc/tests/nss/getaddrinfo_test.c, line 390
- lib/libc/tests/nss/gethostby_test.c, 2 times
- lib/libc/tests/resolv/resolv_test.c, line 105
- lib/libcasper/services/cap_dns/cap_dns.c, line 648
- lib/libcasper/services/cap_dns/cap_dns.h, line 67
- lib/libcasper/services/cap_dns/tests/dns_test.c, 3 times
- lib/libfetch/common.c, 2 times
- lib/libpam/modules/pam_radius/pam_radius.c, line 116
- lib/libpam/modules/pam_unix/pam_unix.c, line 243
- lib/libpmcstat/libpmcstat_logging.c, line 469
- lib/libutil/realhostname.c, line 142
- libexec/ftpd/ftpd.c, 3 times
- release/picobsd/tinyware/login/pico-login.c, 2 times
- sbin/dumpon/dumpon.c, line 437
- sbin/hastd/proto_tcp.c, line 177
- sbin/ifconfig/af_inet6.c, line 353
- sbin/ifconfig/ifconfig.c, 2 times
- sbin/ifconfig/ifpfsync.c, line 113
- sbin/ifconfig/ifvxlan.c, 3 times
- sbin/ipfw/ipfw2.c, line 3990
- sbin/ipfw/tables.c, line 1585
- sbin/iscontrol/fsm.c, line 130
- sbin/mount_nfs/mount_nfs.c, 2 times
- sbin/pfctl/pfctl.c, 5 times
- sbin/pfctl/pfctl_parser.c, 2 times
- sbin/ping6/ping6.c, 4 times
- sbin/route/route.c, line 1280
- sbin/setkey/test-pfkey.c, line 499
- sbin/umount/umount.c, 2 times
- sys/rpc/rpcb_clnt.c, line 375
- tools/regression/gaithrstress/gaithrstress.c, line 126
- tools/regression/netinet/ipmulticast/ipmulticast.c, 3 times
- tools/regression/netinet6/inet6_rth/inet6_rth-segments.c, line 123
- tools/tools/kttcp/kttcp.c, line 201
- tools/tools/netrate/netblast/netblast.c, line 188
- tools/tools/netrate/netreceive/netreceive.c, line 230
- tools/tools/netrate/netsend/netsend.c, line 297
- usr.bin/finger/net.c, line 83
- usr.bin/getaddrinfo/getaddrinfo.c, line 153
- usr.bin/logger/logger.c, 3 times
- usr.bin/rpcinfo/rpcinfo.c, 2 times
- usr.bin/tftp/main.c, line 312
- usr.bin/w/w.c, line 397
- usr.bin/whois/whois.c, line 296
- usr.sbin/bhyve/rfb.c, line 999
- usr.sbin/ctld/ctld.c, line 718
- usr.sbin/dconschat/dconschat.c, line 675
- usr.sbin/inetd/inetd.c, line 417
- usr.sbin/ip6addrctl/ip6addrctl.c, line 277
- usr.sbin/iscsid/iscsid.c, line 146
- usr.sbin/jail/config.c, line 538
- usr.sbin/lpr/common_source/net.c, 3 times
- usr.sbin/lpr/lpd/lpd.c, 3 times
- usr.sbin/mountd/mountd.c, 5 times
- usr.sbin/mtest/mtest.c, 3 times
- usr.sbin/ndp/ndp.c, 3 times
- usr.sbin/nfscbd/nfscbd.c, line 132
- usr.sbin/nfsd/nfsd.c, 11 times
- usr.sbin/nfsuserd/nfsuserd.c, line 134
- usr.sbin/pnfsdscopymr/pnfsdscopymr.c, 2 times
- usr.sbin/pnfsdsfile/pnfsdsfile.c, 4 times
- usr.sbin/portsnap/phttpget/phttpget.c, line 345
- usr.sbin/pppctl/pppctl.c, line 512
- usr.sbin/rip6query/rip6query.c, line 115
- usr.sbin/route6d/route6d.c, 2 times
- usr.sbin/rpc.lockd/lockd.c, 3 times
- usr.sbin/rpc.statd/file.c, 2 times
- usr.sbin/rpc.statd/procs.c, 2 times
- usr.sbin/rpc.statd/statd.c, 3 times
- usr.sbin/rpcbind/rpcbind.c, 2 times
- usr.sbin/rpcbind/util.c, 2 times
- usr.sbin/syslogd/syslogd.c, 4 times
- usr.sbin/tcpdrop/tcpdrop.c, 2 times
- usr.sbin/traceroute6/traceroute6.c, 2 times
- usr.sbin/ypldap/ypldap_dns.c, line 218
- usr.sbin/ypserv/yp_main.c, 2 times