Defined in 9 files as a struct:
Defined in 2 files as a member:
Defined in 1 files as a macro:
Referenced in 267 files:
- bin/cat/cat.c, line 361
- contrib/apr/network_io/unix/sockaddr.c, line 342
- contrib/bearssl/samples/client_basic.c, line 48
- contrib/bearssl/samples/server_basic.c, line 98
- contrib/bearssl/tools/client.c, line 53
- contrib/bearssl/tools/server.c, line 54
- contrib/bsnmp/lib/snmpclient.c, 2 times
- contrib/bsnmp/lib/support.c, 4 times
- contrib/bsnmp/lib/support.h, 4 times
- contrib/bsnmp/snmp_ntp/snmp_ntp.c, 2 times
- contrib/bsnmp/snmpd/config.c, line 780
- contrib/bsnmp/snmpd/trans_inet.c, 3 times
- contrib/dma/dma.h, line 159
- contrib/dma/dns.c, line 68
- contrib/googletest/googletest/src/gtest.cc, 3 times
- contrib/hyperv/tools/hv_kvp_daemon.c, line 1073
- contrib/ipfilter/lib/gethost.c, line 60
- contrib/ldns-host/ldns-host.c, line 985
- contrib/ldns/compat/fake-rfc2553.c, 8 times
- contrib/ldns/compat/fake-rfc2553.h, 4 times
- contrib/lib9p/transport/socket.c, line 72
- contrib/libevent/http-internal.h, line 33
- contrib/libevent/include/event2/util.h, line 652
- contrib/libpcap/gencode.c, 7 times
- contrib/libpcap/nametoaddr.c, 3 times
- contrib/libpcap/pcap-rpcap.c, 53 times
- contrib/libpcap/pcap/namedb.h, line 63
- contrib/libpcap/rpcapd/daemon.c, 13 times
- contrib/libpcap/rpcapd/rpcapd.c, 16 times
- contrib/libpcap/sockutils.c, 47 times
- contrib/libpcap/sockutils.h, 5 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp, 9 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp, 9 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.cpp, 9 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp, 9 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp, 9 times
- contrib/llvm-project/lldb/include/lldb/Host/SocketAddress.h, 2 times
- contrib/llvm-project/lldb/source/Host/common/SocketAddress.cpp, 5 times
- contrib/llvm-project/lldb/source/Host/common/UDPSocket.cpp, 3 times
- contrib/netbsd-tests/lib/libc/net/getaddrinfo/h_gai.c, 4 times
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 100
- contrib/netbsd-tests/net/mcast/mcast.c, 3 times
- contrib/netbsd-tests/net/net/t_udp.c, 2 times
- contrib/netbsd-tests/net/sys/t_rfc6056.c, line 56
- contrib/netcat/netcat.c, 14 times
- contrib/netcat/socks.c, 6 times
- contrib/ntp/include/intreswork.h, 2 times
- contrib/ntp/include/ntp.h, 2 times
- contrib/ntp/include/ntp_intres.h, 4 times
- contrib/ntp/include/ntp_rfc2553.h, 8 times
- contrib/ntp/lib/isc/win32/netdb.h, line 38
- contrib/ntp/libntp/is_ip_address.c, 2 times
- contrib/ntp/libntp/ntp_intres.c, 11 times
- contrib/ntp/libntp/ntp_rfc2553.c, 21 times
- contrib/ntp/libntp/socktohost.c, 3 times
- contrib/ntp/ntpd/ntp_config.c, 20 times
- contrib/ntp/ntpd/ntp_proto.c, 5 times
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 240
- contrib/ntp/ntpd/refclock_nmea.c, 3 times
- contrib/ntp/ntpdate/ntpdate.c, 4 times
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/ntp/sntp/libevent/http-internal.h, line 33
- contrib/ntp/sntp/libevent/include/event2/util.h, line 623
- contrib/ntp/sntp/main.c, 8 times
- contrib/ntp/sntp/main.h, 2 times
- contrib/ntp/sntp/tests/utilities.c, 5 times
- contrib/ntp/sntp/utilities.c, line 106
- contrib/ntp/sntp/utilities.h, line 22
- contrib/ofed/libibverbs/examples/rc_pingpong.c, 4 times
- contrib/ofed/libibverbs/examples/srq_pingpong.c, 4 times
- contrib/ofed/libibverbs/examples/uc_pingpong.c, 4 times
- contrib/ofed/libibverbs/examples/ud_pingpong.c, 4 times
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, 4 times
- contrib/ofed/libibverbs/neigh.c, line 613
- contrib/ofed/librdmacm/addrinfo.c, 4 times
- contrib/ofed/librdmacm/examples/mckey.c, line 448
- contrib/ofed/librdmacm/examples/rcopy.c, 2 times
- contrib/ofed/librdmacm/examples/riostream.c, 3 times
- contrib/ofed/librdmacm/examples/rping.c, line 1126
- contrib/ofed/librdmacm/examples/rstream.c, 3 times
- contrib/ofed/librdmacm/examples/udpong.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 2 times
- contrib/openbsm/libauditd/auditd_lib.c, line 260
- contrib/pf/ftp-proxy/ftp-proxy.c, line 603
- contrib/serf/auth/auth_spnego_sspi.c, 7 times
- contrib/tcp_wrappers/hosts_access.c, 2 times
- contrib/tcp_wrappers/scaffold.c, 3 times
- contrib/tcp_wrappers/scaffold.h, line 10
- contrib/tcp_wrappers/socket.c, line 175
- contrib/tcp_wrappers/tcpdchk.c, line 410
- contrib/tcp_wrappers/tcpdmatch.c, line 61
- contrib/tcsh/tc.func.c, line 1947
- contrib/telnet/telnet/commands.c, 9 times
- contrib/telnet/telnetd/telnetd.c, line 327
- contrib/tnftp/src/extern.h, 2 times
- contrib/tnftp/src/fetch.c, line 480
- contrib/tnftp/src/ftp.c, 2 times
- contrib/tnftp/src/ftp_var.h, line 282
- contrib/tnftp/src/main.c, line 434
- contrib/tnftp/src/util.c, 2 times
- contrib/tnftp/tnftp.h, 4 times
- contrib/traceroute/as.c, line 62
- contrib/unbound/compat/fake-rfc2553.c, 8 times
- contrib/unbound/compat/fake-rfc2553.h, 4 times
- contrib/unbound/daemon/remote.c, 2 times
- contrib/unbound/daemon/worker.c, line 600
- contrib/unbound/respip/respip.c, 2 times
- contrib/unbound/services/listen_dnsport.c, 7 times
- contrib/unbound/services/listen_dnsport.h, 2 times
- contrib/unbound/services/mesh.c, 2 times
- contrib/wpa/hostapd/ctrl_iface.c, 2 times
- contrib/wpa/src/wps/wps_upnp.c, 4 times
- crypto/heimdal/appl/ftp/ftp/ftp.c, 2 times
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, 2 times
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 612
- crypto/heimdal/appl/kf/kf.c, 2 times
- crypto/heimdal/appl/login/utmp_login.c, line 48
- crypto/heimdal/appl/push/push.c, 2 times
- crypto/heimdal/appl/rsh/rsh.c, 7 times
- crypto/heimdal/appl/rsh/rshd.c, line 919
- crypto/heimdal/appl/telnet/telnet/commands.c, 4 times
- crypto/heimdal/appl/telnet/telnet/externs.h, line 212
- crypto/heimdal/appl/test/common.c, 2 times
- crypto/heimdal/appl/test/http_client.c, 2 times
- crypto/heimdal/kadmin/kadm_conn.c, line 240
- crypto/heimdal/kdc/hprop.c, 2 times
- crypto/heimdal/lib/ipc/ts-http.c, line 77
- crypto/heimdal/lib/kadm5/context_s.c, line 71
- crypto/heimdal/lib/kadm5/init_c.c, 2 times
- crypto/heimdal/lib/kadm5/ipropd_master.c, line 69
- crypto/heimdal/lib/kadm5/ipropd_slave.c, 2 times
- crypto/heimdal/lib/kadm5/kadm5-private.h, line 360
- crypto/heimdal/lib/kadm5/log.c, 3 times
- crypto/heimdal/lib/kadm5/private.h, line 80
- crypto/heimdal/lib/krb5/addr_families.c, line 1162
- crypto/heimdal/lib/krb5/changepw.c, line 540
- crypto/heimdal/lib/krb5/expand_hostname.c, 2 times
- crypto/heimdal/lib/krb5/get_for_creds.c, 3 times
- crypto/heimdal/lib/krb5/krb5-protos.h, line 2709
- crypto/heimdal/lib/krb5/krb5.h, line 798
- crypto/heimdal/lib/krb5/krbhst.c, 6 times
- crypto/heimdal/lib/krb5/send_to_kdc.c, 3 times
- crypto/heimdal/lib/krb5/verify_krb5_conf.c, 2 times
- crypto/heimdal/lib/roken/freeaddrinfo.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo-test.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo.c, 22 times
- crypto/heimdal/lib/roken/getaddrinfo_hostspec.c, 3 times
- crypto/heimdal/lib/roken/getnameinfo_verified.c, 2 times
- crypto/heimdal/lib/roken/mini_inetd.c, 3 times
- crypto/heimdal/lib/wind/idn-lookup.c, 2 times
- crypto/openssh/addrmatch.c, line 208
- crypto/openssh/audit-bsm.c, line 137
- crypto/openssh/auth.c, line 761
- crypto/openssh/channels.c, 5 times
- crypto/openssh/channels.h, line 102
- crypto/openssh/dns.c, line 181
- crypto/openssh/openbsd-compat/fake-rfc2553.c, 8 times
- crypto/openssh/openbsd-compat/fake-rfc2553.h, 4 times
- crypto/openssh/regress/netcat.c, 20 times
- crypto/openssh/servconf.c, 2 times
- crypto/openssh/servconf.h, line 62
- crypto/openssh/ssh-keyscan.c, line 329
- crypto/openssh/ssh.c, 12 times
- crypto/openssh/sshconnect.c, 5 times
- crypto/openssh/sshconnect.h, 2 times
- crypto/openssh/sshd.c, line 1057
- crypto/openssl/crypto/bio/b_addr.c, line 679
- crypto/openssl/crypto/bio/bio_local.h, line 57
- include/netdb.h, 4 times
- lib/libc/net/getaddrinfo.c, 123 times
- lib/libc/net/rcmd.c, 3 times
- lib/libc/net/rcmdsh.c, line 65
- lib/libc/resolv/res_init.c, line 401
- lib/libc/rpc/clnt_bcast.c, line 134
- lib/libc/rpc/rpcb_clnt.c, line 285
- lib/libc/rpc/rpcb_st_xdr.c, line 241
- lib/libc/tests/nss/getaddrinfo_test.c, 42 times
- lib/libc/tests/nss/gethostby_test.c, 8 times
- lib/libc/tests/resolv/resolv_test.c, line 99
- lib/libc/tests/sys/sendfile_test.c, 4 times
- lib/libcasper/services/cap_dns/cap_dns.c, 7 times
- lib/libcasper/services/cap_dns/cap_dns.h, 5 times
- lib/libcasper/services/cap_dns/tests/dns_test.c, 4 times
- lib/libcasper/services/cap_net/cap_net.c, 7 times
- lib/libcasper/services/cap_net/cap_net.h, 3 times
- lib/libcasper/services/cap_net/tests/net_test.c, 2 times
- lib/libfetch/common.c, 12 times
- lib/libfetch/common.h, line 116
- lib/libpam/modules/pam_radius/pam_radius.c, 2 times
- lib/libpam/modules/pam_unix/pam_unix.c, line 157
- lib/libpmcstat/libpmcstat_logging.c, line 434
- lib/libutil/realhostname.c, 2 times
- libexec/ftpd/ftpd.c, 5 times
- libexec/phttpget/phttpget.c, 3 times
- sbin/dumpon/dumpon.c, line 399
- sbin/hastd/proto_tcp.c, 2 times
- sbin/ifconfig/af_inet.c, 2 times
- sbin/ifconfig/af_inet6.c, 4 times
- sbin/ifconfig/ifconfig.c, line 1056
- sbin/ifconfig/ifconfig.h, 3 times
- sbin/ifconfig/ifpfsync.c, line 100
- sbin/ifconfig/ifvxlan.c, 3 times
- sbin/ipfw/ipfw2.c, line 4014
- sbin/ipfw/tables.c, line 1499
- sbin/iscontrol/fsm.c, line 79
- sbin/mount_nfs/mount_nfs.c, 3 times
- sbin/pfctl/pfctl.c, 3 times
- sbin/pfctl/pfctl_parser.c, 2 times
- sbin/ping6/ping6.c, 3 times
- sbin/route/route.c, line 1273
- sbin/setkey/test-pfkey.c, line 477
- sbin/umount/umount.c, 6 times
- sys/rpc/rpcb_clnt.c, line 297
- sys/rpc/rpcb_prot.h, line 474
- tools/regression/gaithrstress/gaithrstress.c, 2 times
- tools/regression/netinet/ipmulticast/ipmulticast.c, 3 times
- tools/regression/netinet6/inet6_rth/inet6_rth-segments.c, 4 times
- tools/tools/kttcp/kttcp.c, line 112
- tools/tools/netrate/netblast/netblast.c, line 145
- tools/tools/netrate/netreceive/netreceive.c, line 198
- tools/tools/netrate/netsend/netsend.c, line 287
- tools/tools/switch_tls/switch_tls.c, 2 times
- usr.bin/finger/net.c, 6 times
- usr.bin/getaddrinfo/getaddrinfo.c, 14 times
- usr.bin/logger/logger.c, 3 times
- usr.bin/rpcinfo/rpcinfo.c, 6 times
- usr.bin/tftp/main.c, line 297
- usr.bin/w/w.c, line 215
- usr.bin/whois/whois.c, 6 times
- usr.sbin/bhyve/rfb.c, 2 times
- usr.sbin/ctld/ctld.c, 2 times
- usr.sbin/ctld/ctld.h, 3 times
- usr.sbin/ctld/discovery.c, line 173
- usr.sbin/ctld/isns.c, 2 times
- usr.sbin/ctld/isns.h, 2 times
- usr.sbin/ctld/kernel.c, line 1241
- usr.sbin/dconschat/dconschat.c, 2 times
- usr.sbin/inetd/inetd.c, 2 times
- usr.sbin/ip6addrctl/ip6addrctl.c, line 262
- usr.sbin/iscsid/iscsid.c, 3 times
- usr.sbin/jail/config.c, 2 times
- usr.sbin/lpr/common_source/net.c, 2 times
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/mountd/mountd.c, 8 times
- usr.sbin/mtest/mtest.c, 6 times
- usr.sbin/ndp/ndp.c, 3 times
- usr.sbin/nfscbd/nfscbd.c, line 108
- usr.sbin/nfsd/nfsd.c, 7 times
- usr.sbin/nfsuserd/nfsuserd.c, line 120
- usr.sbin/pnfsdscopymr/pnfsdscopymr.c, line 76
- usr.sbin/pnfsdsfile/pnfsdsfile.c, line 70
- usr.sbin/pppctl/pppctl.c, line 478
- usr.sbin/rip6query/rip6query.c, line 80
- usr.sbin/route6d/route6d.c, line 611
- 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/rpcb_stat.c, 3 times
- usr.sbin/rpcbind/rpcbind.c, 2 times
- usr.sbin/rpcbind/util.c, line 325
- usr.sbin/syslogd/syslogd.c, 13 times
- usr.sbin/tcpdrop/tcpdrop.c, 2 times
- usr.sbin/traceroute6/traceroute6.c, line 366
- usr.sbin/ypldap/ypldap_dns.c, line 209
- usr.sbin/ypserv/yp_main.c, line 261