Defined in 7 files as a prototype:
Defined in 4 files as a macro:
Defined in 6 files as a function:
Referenced in 112 files:
- contrib/apr/network_io/unix/sockaddr.c, 2 times
- contrib/blacklist/port/sockaddr_snprintf.c, 3 times
- contrib/dma/dns.c, line 115
- contrib/lib9p/transport/socket.c, line 158
- contrib/libevent/http.c, line 4289
- contrib/libpcap/pcap-rpcap.c, 6 times
- contrib/libpcap/rpcapd/daemon.c, 2 times
- contrib/libpcap/sockutils.c, line 1545
- contrib/netbsd-tests/lib/libc/net/getaddrinfo/h_gai.c, line 69
- contrib/netbsd-tests/lib/libc/rpc/t_rpc.c, line 49
- contrib/netcat/netcat.c, line 1403
- contrib/ntp/libntp/ntp_intres.c, line 741
- contrib/ntp/libntp/socktohost.c, line 46
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/ntp/sntp/libevent/http.c, line 4122
- contrib/sendmail/src/sasl.c, line 266
- contrib/tcp_wrappers/socket.c, 3 times
- contrib/tcpdump/addrtoname.c, line 124
- contrib/tcsh/tc.func.c, line 1902
- contrib/telnet/telnet/commands.c, line 2327
- contrib/telnet/telnetd/telnetd.c, line 691
- contrib/tnftp/src/fetch.c, line 721
- contrib/tnftp/src/ftp.c, 2 times
- contrib/tnftp/src/util.c, 2 times
- contrib/wpa/src/common/ctrl_iface_common.c, line 88
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 97
- crypto/heimdal/appl/gssmask/gssmask.c, line 1104
- crypto/heimdal/appl/login/utmp_login.c, line 69
- crypto/heimdal/appl/rsh/rsh.c, line 734
- crypto/heimdal/appl/telnet/telnet/commands.c, line 2180
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, line 749
- crypto/heimdal/lib/kadm5/ipropd_slave.c, line 73
- crypto/heimdal/lib/krb5/krbhst.c, line 562
- crypto/heimdal/lib/krb5/sock_principal.c, line 54
- crypto/heimdal/lib/roken/getnameinfo_verified.c, 2 times
- crypto/openssh/auth.c, 2 times
- crypto/openssh/canohost.c, 2 times
- crypto/openssh/channels.c, 2 times
- crypto/openssh/openbsd-compat/port-aix.c, 2 times
- crypto/openssh/openbsd-compat/port-aix.h, 2 times
- crypto/openssh/regress/netcat.c, line 1260
- crypto/openssh/servconf.c, line 2515
- crypto/openssh/ssh.c, line 340
- crypto/openssh/sshconnect.c, 3 times
- crypto/openssh/sshd.c, line 1068
- crypto/openssl/crypto/bio/b_addr.c, line 204
- lib/libc/net/rcmd.c, 5 times
- lib/libc/resolv/res_send.c, 2 times
- lib/libc/rpc/rpc_soc.c, line 409
- lib/libc/tests/nss/gethostby_test.c, line 856
- lib/libc/tests/resolv/resolv_test.c, line 114
- lib/libc/tests/sys/sendfile_test.c, 2 times
- lib/libcasper/services/cap_dns/cap_dns.c, line 579
- lib/libcasper/services/cap_dns/cap_dns.h, line 112
- lib/libcasper/services/cap_net/cap_net.c, line 908
- lib/libcasper/services/cap_net/cap_net.h, line 105
- lib/libcasper/services/cap_net/tests/net_test.c, 2 times
- lib/libfetch/ftp.c, line 834
- lib/libipsec/ipsec_dump_policy.c, line 307
- lib/libipsec/pfkey_dump.c, 3 times
- lib/libnetbsd/sockaddr_snprintf.c, 3 times
- lib/libpam/modules/pam_unix/pam_unix.c, line 244
- lib/libutil/realhostname.c, 2 times
- libexec/ftpd/ftpd.c, 5 times
- libexec/tftpd/tftpd.c, 2 times
- sbin/ifconfig/af_inet.c, 3 times
- sbin/ifconfig/af_inet6.c, 4 times
- sbin/ifconfig/ifvxlan.c, 2 times
- sbin/ipfw/ipfw2.c, line 1812
- sbin/ipfw/tables.c, line 1839
- sbin/pfctl/pf_print_state.c, 2 times
- sbin/pfctl/pfctl_table.c, line 470
- sbin/route/route.c, 2 times
- sbin/setkey/setkey.c, 2 times
- share/examples/libifconfig/status.c, line 115
- tools/regression/netinet/ipmulticast/ipmulticast.c, 2 times
- tools/tools/kttcp/kttcp.c, 2 times
- tools/tools/net80211/wlanwatch/wlanwatch.c, line 212
- tools/tools/switch_tls/switch_tls.c, line 186
- usr.bin/finger/net.c, line 225
- usr.bin/kdump/kdump.c, line 1829
- usr.bin/netstat/inet6.c, line 1350
- usr.bin/netstat/route.c, 3 times
- usr.bin/rpcinfo/rpcinfo.c, line 607
- usr.bin/sockstat/sockstat.c, line 871
- usr.bin/systat/netstat.c, line 596
- usr.bin/w/w.c, line 300
- usr.sbin/ctld/ctld.c, line 2439
- usr.sbin/ctld/discovery.c, line 182
- usr.sbin/ifmcstat/ifmcstat.c, 6 times
- usr.sbin/inetd/inetd.c, 8 times
- usr.sbin/ip6addrctl/ip6addrctl.c, line 164
- usr.sbin/lpr/common_source/net.c, 2 times
- usr.sbin/lpr/lpd/lpd.c, 5 times
- usr.sbin/mountd/mountd.c, 5 times
- usr.sbin/mtest/mtest.c, line 749
- usr.sbin/ndp/ndp.c, 6 times
- usr.sbin/pnfsdsfile/pnfsdsfile.c, line 318
- usr.sbin/ppp/ncpaddr.c, line 391
- usr.sbin/rip6query/rip6query.c, line 186
- usr.sbin/rpc.lockd/kern.c, line 106
- usr.sbin/rpc.lockd/lock_proc.c, 2 times
- usr.sbin/rpc.lockd/lockd.c, line 700
- usr.sbin/rpc.statd/procs.c, line 62
- usr.sbin/rpc.statd/statd.c, line 503
- usr.sbin/rpcbind/security.c, line 218
- usr.sbin/rtsold/rtsol.c, line 634
- usr.sbin/syslogd/syslogd.c, 5 times
- usr.sbin/tcpdrop/tcpdrop.c, line 188
- usr.sbin/ypldap/ldapclient.c, line 75
- usr.sbin/ypserv/yp_main.c, line 367