Defined in 7 files as a prototype:
Defined in 3 files as a macro:
Defined in 7 files as a function:
Referenced in 186 files:
- bin/cat/cat.c, 2 times
- contrib/apr/network_io/unix/sockaddr.c, line 482
- contrib/bearssl/samples/client_basic.c, 2 times
- contrib/bearssl/samples/server_basic.c, 2 times
- contrib/bearssl/tools/client.c, 2 times
- contrib/bearssl/tools/server.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, 4 times
- contrib/bsnmp/lib/support.c, 2 times
- contrib/bsnmp/snmp_ntp/snmp_ntp.c, 2 times
- contrib/bsnmp/snmpd/config.c, line 802
- contrib/bsnmp/snmpd/trans_inet.c, line 1020
- contrib/dma/dns.c, 2 times
- contrib/googletest/googletest/src/gtest.cc, line 4365
- contrib/hyperv/tools/hv_kvp_daemon.c, line 1088
- contrib/ipfilter/lib/gethost.c, line 70
- contrib/ldns/compat/fake-rfc2553.c, line 214
- contrib/libevent/evutil.c, 5 times
- contrib/libpcap/gencode.c, 4 times
- contrib/libpcap/nametoaddr.c, 2 times
- contrib/libpcap/pcap-rpcap.c, 11 times
- contrib/libpcap/rpcapd/daemon.c, 2 times
- contrib/libpcap/rpcapd/rpcapd.c, 2 times
- contrib/libpcap/sockutils.c, 7 times
- contrib/llvm-project/lldb/source/Host/common/SocketAddress.cpp, line 243
- contrib/llvm-project/lldb/source/Host/common/UDPSocket.cpp, line 106
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 118
- contrib/netbsd-tests/net/mcast/mcast.c, line 231
- contrib/netbsd-tests/net/sys/t_rfc6056.c, line 117
- contrib/netcat/netcat.c, 3 times
- contrib/netcat/socks.c, 2 times
- contrib/ntp/libntp/is_ip_address.c, line 81
- contrib/ntp/libntp/ntp_intres.c, line 442
- contrib/ntp/libntp/ntp_rfc2553.c, line 370
- contrib/ntp/libntp/socktohost.c, line 103
- contrib/ntp/ntpd/ntp_config.c, 2 times
- contrib/ntp/ntpd/refclock_nmea.c, line 1825
- contrib/ntp/ntpdate/ntpdate.c, 2 times
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 5 times
- contrib/ntp/sntp/libevent/evutil.c, 4 times
- contrib/ofed/libibverbs/config.h, line 28
- contrib/ofed/libibverbs/neigh.c, line 628
- contrib/ofed/librdmacm/addrinfo.c, line 233
- contrib/ofed/librdmacm/examples/mckey.c, line 458
- contrib/ofed/librdmacm/examples/rcopy.c, 2 times
- contrib/ofed/librdmacm/examples/riostream.c, 2 times
- contrib/ofed/librdmacm/examples/rping.c, line 1142
- contrib/ofed/librdmacm/examples/rstream.c, 2 times
- contrib/ofed/librdmacm/examples/udpong.c, line 439
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 191
- contrib/pf/ftp-proxy/ftp-proxy.c, 3 times
- contrib/serf/auth/auth_spnego_sspi.c, line 182
- contrib/tcp_wrappers/hosts_access.c, 4 times
- contrib/tcp_wrappers/scaffold.c, 2 times
- contrib/tcp_wrappers/socket.c, 3 times
- contrib/tcp_wrappers/tcpdchk.c, line 425
- contrib/tcp_wrappers/tcpdmatch.c, 3 times
- contrib/tcsh/tc.func.c, line 1980
- contrib/telnet/telnet/commands.c, 6 times
- contrib/tnftp/src/fetch.c, line 1327
- contrib/tnftp/src/ftp.c, 2 times
- contrib/tnftp/src/util.c, line 1275
- contrib/traceroute/as.c, line 94
- contrib/unbound/compat/fake-rfc2553.c, line 210
- contrib/unbound/daemon/remote.c, line 334
- contrib/unbound/services/listen_dnsport.c, line 961
- contrib/wpa/hostapd/ctrl_iface.c, 2 times
- contrib/wpa/src/wps/wps_upnp.c, line 433
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 109
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, line 99
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 647
- crypto/heimdal/appl/kf/kf.c, 2 times
- crypto/heimdal/appl/login/utmp_login.c, line 73
- crypto/heimdal/appl/push/push.c, line 124
- crypto/heimdal/appl/rsh/rsh.c, 3 times
- crypto/heimdal/appl/rsh/rshd.c, line 965
- crypto/heimdal/appl/telnet/telnet/commands.c, 7 times
- crypto/heimdal/appl/test/common.c, 2 times
- crypto/heimdal/appl/test/http_client.c, line 75
- crypto/heimdal/kadmin/kadm_conn.c, line 289
- crypto/heimdal/kdc/hprop.c, 2 times
- crypto/heimdal/lib/ipc/ts-http.c, line 109
- crypto/heimdal/lib/kadm5/destroy_s.c, line 62
- crypto/heimdal/lib/kadm5/init_c.c, 8 times
- crypto/heimdal/lib/kadm5/ipropd_slave.c, line 91
- crypto/heimdal/lib/kadm5/log.c, line 1053
- crypto/heimdal/lib/krb5/addr_families.c, 2 times
- crypto/heimdal/lib/krb5/expand_hostname.c, 5 times
- crypto/heimdal/lib/krb5/get_for_creds.c, line 246
- crypto/heimdal/lib/krb5/krbhst.c, line 260
- crypto/heimdal/lib/krb5/send_to_kdc.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo-test.c, line 109
- crypto/heimdal/lib/roken/getaddrinfo.c, line 412
- crypto/heimdal/lib/roken/getnameinfo_verified.c, 2 times
- crypto/heimdal/lib/roken/mini_inetd.c, line 195
- crypto/heimdal/lib/wind/idn-lookup.c, line 116
- crypto/openssh/addrmatch.c, line 224
- crypto/openssh/audit-bsm.c, line 166
- crypto/openssh/auth.c, 2 times
- crypto/openssh/channels.c, 5 times
- crypto/openssh/dns.c, line 197
- crypto/openssh/openbsd-compat/fake-rfc2553.c, line 220
- crypto/openssh/regress/netcat.c, 5 times
- crypto/openssh/ssh-keyscan.c, line 357
- crypto/openssh/ssh.c, 5 times
- crypto/openssh/sshconnect.c, line 416
- crypto/openssh/sshd.c, line 1138
- crypto/openssl/crypto/bio/b_addr.c, line 426
- lib/libc/net/getaddrinfo.c, 12 times
- lib/libc/net/rcmd.c, 8 times
- lib/libc/net/rcmdsh.c, line 102
- lib/libc/resolv/res_init.c, line 430
- lib/libc/rpc/clnt_bcast.c, line 191
- lib/libc/rpc/rpcb_clnt.c, line 412
- lib/libc/tests/nss/getaddrinfo_test.c, 2 times
- lib/libc/tests/nss/gethostby_test.c, line 797
- lib/libc/tests/resolv/resolv_test.c, line 121
- lib/libc/tests/sys/sendfile_test.c, 2 times
- lib/libcasper/services/cap_dns/cap_dns.c, 2 times
- lib/libcasper/services/cap_dns/tests/dns_test.c, 6 times
- lib/libcasper/services/cap_net/cap_net.c, 2 times
- lib/libcasper/services/cap_net/tests/net_test.c, 3 times
- lib/libfetch/common.c, 7 times
- lib/libpam/modules/pam_radius/pam_radius.c, line 121
- lib/libpam/modules/pam_unix/pam_unix.c, line 249
- lib/libpmcstat/libpmcstat_logging.c, line 508
- lib/libutil/realhostname.c, 5 times
- libexec/ftpd/ftpd.c, 5 times
- libexec/phttpget/phttpget.c, line 729
- sbin/dumpon/dumpon.c, line 541
- sbin/hastd/proto_tcp.c, line 188
- sbin/ifconfig/af_inet6.c, line 359
- sbin/ifconfig/ifconfig.c, 2 times
- sbin/ifconfig/ifpfsync.c, line 125
- sbin/ifconfig/ifvxlan.c, 3 times
- sbin/ipfw/ipfw2.c, line 4069
- sbin/ipfw/tables.c, line 1622
- sbin/iscontrol/fsm.c, line 156
- sbin/mount_nfs/mount_nfs.c, line 703
- sbin/pfctl/pfctl.c, 5 times
- sbin/pfctl/pfctl_parser.c, 2 times
- sbin/ping6/ping6.c, 4 times
- sbin/route/route.c, line 1287
- sbin/setkey/test-pfkey.c, line 517
- sys/rpc/rpcb_clnt.c, line 424
- tools/regression/gaithrstress/gaithrstress.c, line 141
- tools/regression/netinet/ipmulticast/ipmulticast.c, 3 times
- tools/regression/netinet6/inet6_rth/inet6_rth-segments.c, line 135
- tools/tools/kttcp/kttcp.c, line 304
- tools/tools/netrate/netblast/netblast.c, line 217
- tools/tools/netrate/netreceive/netreceive.c, line 273
- tools/tools/netrate/netsend/netsend.c, line 318
- tools/tools/switch_tls/switch_tls.c, 3 times
- usr.bin/finger/net.c, line 106
- usr.bin/getaddrinfo/getaddrinfo.c, line 164
- usr.bin/logger/logger.c, 2 times
- usr.bin/rpcinfo/rpcinfo.c, 2 times
- usr.bin/tftp/main.c, line 356
- usr.bin/w/w.c, line 304
- usr.bin/whois/whois.c, line 579
- usr.sbin/bhyve/rfb.c, 2 times
- usr.sbin/ctld/ctld.c, 2 times
- usr.sbin/dconschat/dconschat.c, line 1156
- usr.sbin/ip6addrctl/ip6addrctl.c, line 283
- usr.sbin/jail/config.c, line 598
- usr.sbin/lpr/common_source/net.c, 6 times
- usr.sbin/lpr/lpd/lpd.c, 3 times
- usr.sbin/mountd/mountd.c, 6 times
- usr.sbin/mtest/mtest.c, 3 times
- usr.sbin/nfscbd/nfscbd.c, 2 times
- usr.sbin/nfsd/nfsd.c, 15 times
- usr.sbin/nfsuserd/nfsuserd.c, 2 times
- usr.sbin/pnfsdscopymr/pnfsdscopymr.c, 2 times
- usr.sbin/pppctl/pppctl.c, line 552
- 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, 4 times
- usr.sbin/rpcbind/util.c, 2 times
- usr.sbin/syslogd/syslogd.c, 5 times
- usr.sbin/tcpdrop/tcpdrop.c, 3 times
- usr.sbin/traceroute6/traceroute6.c, 2 times
- usr.sbin/ypldap/ypldap_dns.c, line 249
- usr.sbin/ypserv/yp_main.c, 8 times