Defined in 6 files as a prototype:
Defined in 1 files as a macro:
Defined in 4 files as a function:
Referenced in 169 files:
- contrib/bsnmp/snmpd/trans_inet.c, line 539
- contrib/bsnmp/snmpd/trans_udp.c, line 140
- contrib/bsnmp/snmpd/trap.c, 2 times
- contrib/gdb/gdb/gdbserver/remote-utils.c, line 162
- contrib/ipfilter/ipsend/arp.c, 2 times
- contrib/ipfilter/ipsend/ipresend.c, line 129
- contrib/ipfilter/ipsend/ipsend.c, 3 times
- contrib/ipfilter/ipsend/iptest.c, 3 times
- contrib/ipfilter/ipsend/iptests.c, line 1094
- contrib/ipfilter/ipsend/resend.c, 2 times
- contrib/ipfilter/l4check/l4check.c, 6 times
- contrib/ipfilter/lib/hostname.c, line 50
- contrib/ipfilter/lib/load_poolnode.c, 2 times
- contrib/ipfilter/lib/print_toif.c, line 38
- contrib/ipfilter/lib/printactiveaddr.c, line 26
- contrib/ipfilter/lib/printdstlistnode.c, line 65
- contrib/ipfilter/lib/printhashdata.c, line 90
- contrib/ipfilter/lib/printhost.c, line 32
- contrib/ipfilter/lib/printhostmask.c, line 34
- contrib/ipfilter/lib/printip.c, line 26
- contrib/ipfilter/lib/printmask.c, line 26
- contrib/ipfilter/lib/printpacket.c, 2 times
- contrib/ipfilter/lib/printpoolnode.c, line 53
- contrib/ipfilter/lib/remove_hashnode.c, 2 times
- contrib/ipfilter/lib/save_v1trap.c, line 102
- contrib/ipfilter/lib/save_v2trap.c, line 106
- contrib/ipfilter/samples/proxy.c, 4 times
- contrib/ipfilter/samples/relay.c, line 186
- contrib/ipfilter/samples/userauth.c, 2 times
- contrib/ipfilter/tools/ipfstat.c, line 1991
- contrib/ipfilter/tools/ipfsyncd.c, 7 times
- contrib/ipfilter/tools/ipsyncm.c, line 124
- contrib/ipfilter/tools/ipsyncs.c, line 137
- contrib/ldns/compat/fake-rfc2553.c, line 63
- contrib/libevent/http.c, line 136
- contrib/libevent/test/regress_dns.c, 2 times
- contrib/libpcap/pcap-sita.c, 4 times
- contrib/llvm-project/lldb/source/Host/common/SocketAddress.cpp, line 48
- contrib/netbsd-tests/lib/libc/inet/t_inet_addr.c, 2 times
- contrib/netbsd-tests/net/net/t_pktinfo.c, line 142
- contrib/ntp/ntpd/ntp_restrict.c, line 350
- contrib/ntp/sntp/libevent/http.c, line 133
- contrib/ntp/sntp/libevent/test/regress_dns.c, 2 times
- contrib/openbsm/libbsm/bsm_io.c, line 797
- contrib/opie/opieftpd.c, 3 times
- contrib/sendmail/src/conf.c, 5 times
- contrib/sendmail/src/daemon.c, 3 times
- contrib/sendmail/src/main.c, line 789
- contrib/sendmail/src/map.c, line 1332
- contrib/sendmail/src/milter.c, line 3938
- contrib/sendmail/src/ratectrl.c, 2 times
- contrib/sendmail/src/sasl.c, line 275
- contrib/sendmail/src/sm_resolve.c, 4 times
- contrib/smbfs/smbutil/lookup.c, 2 times
- contrib/tcp_wrappers/socket.c, 2 times
- contrib/tcsh/tc.func.c, line 1914
- contrib/traceroute/traceroute.c, 9 times
- contrib/unbound/compat/fake-rfc2553.c, line 61
- contrib/wpa/src/ap/fils_hlp.c, 3 times
- contrib/wpa/src/ap/iapp.c, 2 times
- contrib/wpa/src/common/dpp.c, line 9876
- contrib/wpa/src/common/wpa_ctrl.c, line 434
- contrib/wpa/src/l2_packet/l2_packet_freebsd.c, line 305
- contrib/wpa/src/radius/radius.c, line 309
- contrib/wpa/src/radius/radius_client.c, line 1211
- contrib/wpa/src/radius/radius_das.c, line 411
- contrib/wpa/src/radius/radius_server.c, 4 times
- contrib/wpa/src/utils/ip_addr.c, line 21
- contrib/wpa/src/wps/http_client.c, 5 times
- contrib/wpa/src/wps/http_server.c, 5 times
- contrib/wpa/src/wps/wps_er.c, 12 times
- contrib/wpa/src/wps/wps_er_ssdp.c, 2 times
- contrib/wpa/src/wps/wps_registrar.c, line 3536
- contrib/wpa/src/wps/wps_upnp.c, 3 times
- contrib/wpa/src/wps/wps_upnp_ssdp.c, 3 times
- contrib/wpa/src/wps/wps_upnp_web.c, line 1365
- contrib/wpa/wpa_supplicant/ctrl_iface_udp.c, 6 times
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1607
- crypto/heimdal/lib/krb5/addr_families.c, line 171
- crypto/heimdal/lib/roken/resolve-test.c, line 116
- crypto/heimdal/lib/roken/roken_gethostby.c, 2 times
- crypto/openssh/channels.c, line 1298
- crypto/openssh/openbsd-compat/fake-rfc2553.c, line 64
- crypto/openssh/session.c, line 2641
- crypto/openssl/crypto/bio/b_addr.c, line 239
- lib/libc/inet/inet_ntoa.c, 2 times
- lib/libc/rpc/auth_time.c, 2 times
- lib/libutil/realhostname.c, line 83
- libexec/bootpd/bootpd.c, 7 times
- libexec/bootpd/bootpgw/bootpgw.c, 7 times
- libexec/bootpd/dumptab.c, 6 times
- libexec/bootpd/hwaddr.c, 2 times
- libexec/bootpd/rtmsg.c, 2 times
- libexec/bootpd/tools/bootptest/bootptest.c, 2 times
- libexec/bootpd/trygetif.c, line 71
- libexec/bootpd/trylook.c, line 41
- sbin/dhclient/dhclient.c, 4 times
- sbin/dhclient/inet.c, line 116
- sbin/dhclient/options.c, line 780
- sbin/dumpon/dumpon.c, 2 times
- sbin/ifconfig/af_inet.c, 3 times
- sbin/ifconfig/ifpfsync.c, line 204
- sbin/ipfw/dummynet.c, 2 times
- sbin/ipfw/ipfw2.c, 7 times
- sbin/ipfw/nat.c, 11 times
- sbin/natd/natd.c, 3 times
- sbin/ping/ping.c, 9 times
- sbin/route/route.c, line 1905
- sbin/routed/output.c, line 197
- sbin/routed/rdisc.c, line 772
- sbin/routed/rtquery/rtquery.c, 5 times
- sbin/routed/trace.c, line 134
- share/examples/find_interface/find_interface.c, line 109
- share/examples/libifconfig/status.c, 2 times
- stand/common/dev_net.c, 8 times
- stand/common/install.c, line 287
- stand/efi/libefi/efihttp.c, 2 times
- stand/efi/libefi/efinet.c, 3 times
- stand/i386/libi386/pxe.c, line 255
- stand/libsa/arp.c, 3 times
- stand/libsa/bootp.c, 2 times
- stand/libsa/bootparam.c, 2 times
- stand/libsa/inet_ntoa.c, 2 times
- stand/libsa/ip.c, 4 times
- stand/libsa/nfs.c, 2 times
- stand/libsa/udp.c, 2 times
- tools/regression/netinet/ipmulticast/ipmulticast.c, 7 times
- tools/regression/netinet/msocket/msocket.c, 20 times
- tools/regression/netinet/tcpstream/tcpstream.c, line 149
- tools/regression/netinet/udpconnectjail/udpconnectjail.c, line 69
- tools/regression/sockets/listenclose/listenclose.c, line 78
- tools/regression/sockets/shutdown/shutdown.c, line 69
- tools/regression/sockets/udp_pingpong/udp_pingpong.c, 3 times
- tools/regression/sockets/zerosend/zerosend.c, 6 times
- tools/tools/net80211/w00t/redir/buddy.c, line 154
- tools/tools/net80211/wesside/dics/dics.c, 3 times
- tools/tools/net80211/wesside/udps/udps.c, line 177
- tools/tools/net80211/wesside/wesside/wesside.c, line 1523
- tools/tools/net80211/wlanwatch/wlanwatch.c, line 182
- tools/tools/netrate/tcpconnect/tcpconnect.c, line 94
- usr.bin/rup/rup.c, line 115
- usr.bin/rusers/rusers.c, line 120
- usr.bin/systat/netcmds.c, line 308
- usr.bin/talk/io.c, line 94
- usr.bin/ypwhich/ypwhich.c, line 134
- usr.sbin/arp/arp.c, 5 times
- usr.sbin/bluetooth/sdpd/lan.c, line 123
- usr.sbin/bootparamd/callbootd/callbootd.c, 3 times
- usr.sbin/ifmcstat/ifmcstat.c, 4 times
- usr.sbin/jls/jls.c, line 427
- usr.sbin/mountd/mountd.c, line 3352
- usr.sbin/nfsd/nfsd.c, line 1278
- usr.sbin/nfsdumpstate/nfsdumpstate.c, 2 times
- usr.sbin/nfsuserd/nfsuserd.c, line 556
- usr.sbin/ppp/arp.c, 5 times
- usr.sbin/ppp/command.c, line 474
- usr.sbin/ppp/ipcp.c, 26 times
- usr.sbin/ppp/mp.c, 2 times
- usr.sbin/ppp/ncpaddr.c, line 379
- usr.sbin/ppp/radius.c, 4 times
- usr.sbin/ppp/tcp.c, line 202
- usr.sbin/ppp/udp.c, line 126
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, 3 times
- usr.sbin/rwhod/rwhod.c, 3 times
- usr.sbin/trpt/trpt.c, 2 times
- usr.sbin/ypbind/ypbind.c, 4 times
- usr.sbin/ypserv/yp_access.c, 5 times
- usr.sbin/ypserv/yp_dnslookup.c, 2 times
- usr.sbin/ypserv/yp_server.c, 4 times