Defined in 1 files as a macro:
Referenced in 328 files:
- contrib/blacklist/bin/conf.c, line 1034
- contrib/blacklist/lib/bl.c, line 153
- contrib/blacklist/test/cltest.c, line 115
- contrib/blacklist/test/srvtest.c, 4 times
- contrib/bsnmp/lib/snmpclient.c, 3 times
- contrib/bsnmp/snmp_mibII/mibII.c, line 1777
- contrib/bsnmp/snmp_ntp/snmp_ntp.c, 2 times
- contrib/bsnmp/snmpd/config.c, line 786
- contrib/bsnmp/snmpd/trans_inet.c, 3 times
- contrib/bsnmp/snmpd/trans_lsock.c, line 350
- contrib/bsnmp/snmpd/trans_udp.c, line 113
- contrib/bsnmp/snmpd/trap.c, 2 times
- contrib/capsicum-test/capmode.cc, 3 times
- contrib/capsicum-test/socket.cc, 2 times
- contrib/gdb/gdb/ser-tcp.c, line 98
- contrib/ipfilter/ipsend/arp.c, 2 times
- contrib/ipfilter/lib/save_v1trap.c, 3 times
- contrib/ipfilter/lib/save_v2trap.c, 3 times
- contrib/ipfilter/samples/proxy.c, line 161
- contrib/ipfilter/tools/ipfsyncd.c, line 400
- contrib/ipfilter/tools/ipsyncm.c, line 112
- contrib/ipfilter/tools/ipsyncs.c, line 123
- contrib/ldns/net.c, line 369
- contrib/libevent/evdns.c, line 2514
- contrib/libevent/evutil.c, 6 times
- contrib/libevent/sample/dns-example.c, line 195
- contrib/libevent/test/regress.c, line 3042
- contrib/libevent/test/regress_dns.c, 6 times
- contrib/libevent/test/regress_testutils.c, line 103
- contrib/libevent/test/regress_util.c, 2 times
- contrib/libpcap/fad-gifc.c, line 161
- contrib/libpcap/fad-glifc.c, 2 times
- contrib/libpcap/nametoaddr.c, line 364
- contrib/libpcap/pcap-bpf.c, 8 times
- contrib/libpcap/pcap-linux.c, 4 times
- contrib/libpcap/pcap-netmap.c, line 138
- contrib/libpcap/pcap-rpcap.c, 2 times
- contrib/libpcap/pcap.c, 2 times
- contrib/libpcap/rpcapd/daemon.c, line 1734
- contrib/libxo/libxo/xo_syslog.c, line 313
- contrib/llvm-project/lldb/source/Host/common/UDPSocket.cpp, line 27
- contrib/netbsd-tests/lib/libc/net/getaddrinfo/h_gai.c, line 122
- contrib/netbsd-tests/lib/libc/net/h_dns_server.c, line 290
- contrib/netbsd-tests/lib/libc/sys/t_recvmmsg.c, line 79
- contrib/netbsd-tests/lib/libc/sys/t_socketpair.c, 5 times
- contrib/netbsd-tests/net/config/netconfig.c, line 83
- contrib/netbsd-tests/net/fdpass/fdpass.c, line 196
- contrib/netbsd-tests/net/icmp/t_forward.c, line 86
- contrib/netbsd-tests/net/if/ifconf.c, 2 times
- contrib/netbsd-tests/net/if/t_compat.c, line 71
- contrib/netbsd-tests/net/mcast/mcast.c, line 197
- contrib/netbsd-tests/net/net/t_pktinfo.c, 2 times
- contrib/netbsd-tests/net/net/t_udp.c, line 27
- contrib/netbsd-tests/net/sys/t_rfc6056.c, line 60
- contrib/netcat/netcat.c, 3 times
- contrib/ntp/lib/isc/unix/ifiter_ioctl.c, 2 times
- contrib/ntp/lib/isc/unix/net.c, 2 times
- contrib/ntp/lib/isc/unix/socket.c, line 2258
- contrib/ntp/lib/isc/win32/interfaceiter.c, 2 times
- contrib/ntp/lib/isc/win32/net.c, 2 times
- contrib/ntp/lib/isc/win32/socket.c, line 1665
- contrib/ntp/libntp/ntp_intres.c, line 623
- contrib/ntp/libntp/ntp_rfc2553.c, 4 times
- contrib/ntp/libntp/socktohost.c, line 61
- contrib/ntp/ntpd/ntp_config.c, 5 times
- contrib/ntp/ntpd/ntp_io.c, 4 times
- contrib/ntp/ntpd/ntp_proto.c, line 4782
- contrib/ntp/ntpdate/ntpdate.c, 4 times
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, line 693
- contrib/ntp/sntp/libevent/evdns.c, line 2516
- contrib/ntp/sntp/libevent/evutil.c, 6 times
- contrib/ntp/sntp/libevent/test/regress.c, line 2911
- contrib/ntp/sntp/libevent/test/regress_dns.c, 6 times
- contrib/ntp/sntp/libevent/test/regress_testutils.c, line 103
- contrib/ntp/sntp/libevent/test/regress_util.c, 2 times
- contrib/ntp/sntp/main.c, 3 times
- contrib/ofed/libibverbs/neigh.c, line 231
- contrib/ofed/librdmacm/addrinfo.c, 3 times
- contrib/ofed/librdmacm/examples/udpong.c, 2 times
- contrib/ofed/librdmacm/preload.c, 2 times
- contrib/ofed/librdmacm/rsocket.c, 12 times
- contrib/openbsm/libbsm/bsm_socket_type.c, line 46
- contrib/pf/pflogd/pflogd.c, line 244
- contrib/pf/tftp-proxy/tftp-proxy.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, line 1590
- contrib/sendmail/src/conf.c, 3 times
- contrib/smbfs/lib/smb/nbns_rq.c, line 296
- contrib/tnftp/src/util.c, line 1269
- contrib/traceroute/ifaddrlist.c, line 85
- contrib/unbound/services/listen_dnsport.c, 4 times
- contrib/unbound/services/outside_network.c, 4 times
- contrib/wpa/hostapd/ctrl_iface.c, 4 times
- contrib/wpa/hostapd/hlr_auc_gw.c, line 256
- contrib/wpa/src/ap/fils_hlp.c, line 404
- contrib/wpa/src/ap/iapp.c, line 396
- contrib/wpa/src/common/wpa_ctrl.c, 5 times
- contrib/wpa/src/drivers/driver_atheros.c, line 1744
- contrib/wpa/src/drivers/driver_bsd.c, line 1712
- contrib/wpa/src/drivers/driver_hostap.c, line 980
- contrib/wpa/src/drivers/driver_openbsd.c, line 103
- contrib/wpa/src/drivers/driver_privsep.c, 2 times
- contrib/wpa/src/drivers/driver_wired.c, line 233
- contrib/wpa/src/drivers/driver_wired_common.c, 5 times
- contrib/wpa/src/eap_server/eap_sim_db.c, line 684
- contrib/wpa/src/l2_packet/l2_packet_privsep.c, line 165
- contrib/wpa/src/radius/radius_client.c, 4 times
- contrib/wpa/src/radius/radius_das.c, line 517
- contrib/wpa/src/radius/radius_server.c, 2 times
- contrib/wpa/src/wps/wps_upnp.c, line 929
- contrib/wpa/src/wps/wps_upnp_ssdp.c, 3 times
- contrib/wpa/wpa_supplicant/ctrl_iface_udp.c, 2 times
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 2 times
- contrib/wpa/wpa_supplicant/wpa_priv.c, line 798
- crypto/heimdal/kdc/connect.c, 4 times
- crypto/heimdal/kpasswd/kpasswdd.c, line 686
- crypto/heimdal/lib/kadm5/init_s.c, line 75
- crypto/heimdal/lib/kadm5/ipropd_master.c, line 58
- crypto/heimdal/lib/krb5/krbhst.c, line 350
- crypto/heimdal/lib/krb5/verify_krb5_conf.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo.c, 2 times
- crypto/heimdal/lib/roken/getaddrinfo_hostspec.c, line 61
- crypto/heimdal/lib/roken/getifaddrs.c, 2 times
- crypto/heimdal/lib/roken/socket_wrapper.c, 15 times
- crypto/openssh/auth.c, line 792
- crypto/openssh/dns.c, line 193
- crypto/openssh/regress/netcat.c, 3 times
- crypto/openssl/apps/s_client.c, 4 times
- crypto/openssl/apps/s_server.c, 8 times
- crypto/openssl/crypto/bio/b_addr.c, 3 times
- crypto/openssl/crypto/bio/b_sock2.c, line 265
- lib/libc/gen/sysconf.c, line 574
- lib/libc/gen/syslog.c, line 399
- lib/libc/net/getaddrinfo.c, 10 times
- lib/libc/net/if_nametoindex.c, line 73
- lib/libc/net/name6.c, 2 times
- lib/libc/net/rcmd.c, 2 times
- lib/libc/resolv/res_init.c, line 413
- lib/libc/resolv/res_send.c, line 855
- lib/libc/rpc/auth_time.c, 2 times
- lib/libc/rpc/rpc_generic.c, 3 times
- lib/libc/rpc/rtime.c, 2 times
- lib/libc/rpc/svc_generic.c, line 285
- lib/libc/tests/nss/getaddrinfo_test.c, line 360
- lib/libc/tests/sys/sendfile_test.c, line 1080
- lib/libifconfig/libifconfig_internal.c, line 95
- lib/libipsec/test-policy.c, line 174
- lib/libnetgraph/sock.c, 3 times
- lib/libradius/radlib.c, 2 times
- libexec/bootpd/bootpd.c, line 438
- libexec/bootpd/bootpgw/bootpgw.c, line 394
- libexec/bootpd/getether.c, 3 times
- libexec/bootpd/tools/bootptest/bootptest.c, line 234
- libexec/bootpd/trygetif.c, line 59
- libexec/rbootd/bpf.c, line 231
- libexec/tftpd/tests/functional.c, 2 times
- libexec/tftpd/tftpd.c, line 410
- sbin/devd/devd.cc, line 371
- sbin/dhclient/dispatch.c, 2 times
- sbin/ifconfig/af_inet6.c, line 191
- sbin/ifconfig/af_link.c, line 104
- sbin/ifconfig/af_nd6.c, line 159
- sbin/ifconfig/ifconfig.c, 5 times
- sbin/ifconfig/ifgroup.c, line 135
- sbin/ifconfig/ifpfsync.c, line 111
- sbin/mount_nfs/mount_nfs.c, 6 times
- sbin/nos-tun/nos-tun.c, 2 times
- sbin/pfctl/pfctl_parser.c, 2 times
- sbin/ping6/ping6.c, line 1020
- sbin/route/route.c, line 1281
- sbin/routed/main.c, line 657
- sbin/routed/rtquery/rtquery.c, line 285
- sbin/sconfig/sconfig.c, line 167
- sbin/setkey/test-pfkey.c, line 496
- sbin/setkey/test-policy.c, line 113
- sbin/spppcontrol/spppcontrol.c, line 87
- share/doc/psd/20.ipctut/udgramread.c, line 57
- share/examples/find_interface/find_interface.c, line 84
- sys/compat/cloudabi/cloudabi_fd.c, 2 times
- sys/compat/linux/linux_socket.c, line 1026
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_diff/socket.c, line 45
- sys/fs/nfs/nfs_commonkrpc.c, 5 times
- sys/fs/nfs/nfs_commonsubs.c, line 3592
- sys/fs/nfsclient/nfs_clkrpc.c, line 201
- sys/fs/nfsclient/nfs_clvfsops.c, 5 times
- sys/fs/nfsserver/nfs_nfsdkrpc.c, line 464
- sys/fs/nfsserver/nfs_nfsdstate.c, 2 times
- sys/kern/uipc_debug.c, line 57
- sys/kern/uipc_socket.c, 2 times
- sys/kern/uipc_syscalls.c, line 610
- sys/kern/uipc_usrreq.c, 10 times
- sys/kgssapi/gsstest.c, 2 times
- sys/net/if_vxlan.c, line 976
- sys/netgraph/ng_ksocket.c, line 130
- sys/netgraph/ng_socket.c, 2 times
- sys/netinet/in_mcast.c, 2 times
- sys/netinet/in_proto.c, 2 times
- sys/netinet/ip_gre.c, line 305
- sys/netinet/libalias/alias_db.c, line 675
- sys/netinet/sctputil.c, 2 times
- sys/netinet/udp_usrreq.c, line 1597
- sys/netinet6/in6_mcast.c, 2 times
- sys/netinet6/in6_proto.c, 2 times
- sys/netinet6/ip6_gre.c, line 301
- sys/nfs/bootp_subr.c, 2 times
- sys/nfs/krpc_subr.c, line 224
- sys/nfs/nfs_diskless.c, line 129
- sys/nlm/nlm_prot_impl.c, 2 times
- sys/rpc/rpc_generic.c, 3 times
- sys/rpc/svc_generic.c, line 296
- sys/security/audit/bsm_socket_type.c, line 51
- sys/security/mac_portacl/mac_portacl.c, 2 times
- tests/sys/audit/network.c, 8 times
- tests/sys/net/if_epair.c, line 59
- tests/sys/net/routing/rtsock_common.h, 5 times
- tests/sys/netinet/socket_afinet.c, 3 times
- tests/sys/netinet/udp_dontroute.c, 2 times
- tools/regression/ethernet/ethermulti/ethermulti.c, line 206
- tools/regression/netinet/arphold/arphold.c, line 85
- tools/regression/netinet/ipbroadcast/ipbroadcast.c, line 214
- tools/regression/netinet/ipmulticast/ipmulticast.c, 2 times
- tools/regression/netinet/ipsockopt/ipsockopt.c, 2 times
- tools/regression/netinet/msocket/msocket.c, 2 times
- tools/regression/netinet/msocket_ifnet_remove/msocket_ifnet_remove.c, line 240
- tools/regression/netinet/udpconnectjail/udpconnectjail.c, line 62
- tools/regression/netinet/udpzerobyte/udpzerobyte.c, 2 times
- tools/regression/netinet6/ip6_sockets/ip6_sockets.c, 2 times
- tools/regression/priv/priv_netinet_ipsec.c, 4 times
- tools/regression/security/cap_test/cap_test_capmode.c, line 80
- tools/regression/sockets/fstat/fstat.c, 3 times
- tools/regression/sockets/kqueue/kqueue.c, 2 times
- tools/regression/sockets/pr_atomic/pr_atomic.c, 2 times
- tools/regression/sockets/reconnect/reconnect.c, 2 times
- tools/regression/sockets/rtsocket/rtsocket.c, 2 times
- tools/regression/sockets/so_setfib/so_setfib.c, line 79
- tools/regression/sockets/udp_pingpong/udp_pingpong.c, 2 times
- tools/regression/sockets/unix_cmsg/t_cmsgcred_sockcred.c, line 99
- tools/regression/sockets/unix_cmsg/unix_cmsg.c, line 442
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, 2 times
- tools/regression/sockets/unix_socket/unix_socket.c, 2 times
- tools/regression/sockets/zerosend/zerosend.c, 3 times
- tools/test/netfibs/reflect.c, 2 times
- tools/tools/ath/ath_prom_read/ath_prom_read.c, line 91
- tools/tools/ath/athaggrstats/athaggrstats.c, line 396
- tools/tools/ath/athkey/athkey.c, line 140
- tools/tools/ath/athpoke/athpoke.c, line 72
- tools/tools/ath/athpow/athpow.c, line 84
- tools/tools/ath/athprom/athprom.c, line 102
- tools/tools/ath/athradar/athradar.c, line 53
- tools/tools/ath/athratestats/main.c, line 367
- tools/tools/ath/athspectral/athspectral.c, line 53
- tools/tools/ath/athsurvey/athsurvey.c, line 172
- tools/tools/ath/common/ctrl.c, line 96
- tools/tools/mcgrab/mcgrab.cc, line 105
- tools/tools/mctest/mctest.cc, 4 times
- tools/tools/mwl/mwlstats/mwlstats.c, line 571
- tools/tools/net80211/stumbler/stumbler.c, line 1001
- tools/tools/net80211/w00t/libw00t/w00t.c, line 259
- tools/tools/net80211/wesside/dics/dics.c, line 336
- tools/tools/net80211/wesside/udps/udps.c, line 142
- tools/tools/net80211/wesside/wesside/wesside.c, 3 times
- tools/tools/net80211/wlaninject/wlaninject.c, line 58
- tools/tools/net80211/wlanstats/wlanstats.c, line 1034
- tools/tools/net80211/wlanwds/wlanwds.c, 2 times
- tools/tools/netmap/pkt-gen.c, line 529
- tools/tools/netrate/juggle/juggle.c, 3 times
- tools/tools/netrate/netblast/netblast.c, line 155
- tools/tools/netrate/netreceive/netreceive.c, line 212
- tools/tools/netrate/netsend/netsend.c, 2 times
- tools/tools/syscall_timing/syscall_timing.c, 4 times
- tools/tools/vimage/vimage.c, 2 times
- usr.bin/logger/logger.c, 2 times
- usr.bin/netstat/inet6.c, 2 times
- usr.bin/netstat/unix.c, line 219
- usr.bin/procstat/procstat_files.c, line 81
- usr.bin/sockstat/sockstat.c, 2 times
- usr.bin/talk/ctl.c, line 101
- usr.bin/talk/get_iface.c, line 68
- usr.bin/tftp/main.c, line 309
- usr.sbin/ancontrol/ancontrol.c, 2 times
- usr.sbin/apmd/contrib/pccardq.c, line 79
- usr.sbin/arp/arp.c, line 819
- usr.sbin/bluetooth/btpand/tap.c, line 74
- usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c, line 70
- usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c, line 99
- usr.sbin/inetd/builtins.c, 5 times
- usr.sbin/inetd/inetd.c, 7 times
- usr.sbin/ip6addrctl/ip6addrctl.c, 4 times
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/mountd/mountd.c, line 442
- usr.sbin/mtest/mtest.c, 4 times
- usr.sbin/ndp/ndp.c, 7 times
- usr.sbin/nfscbd/nfscbd.c, line 221
- usr.sbin/nfsd/nfsd.c, 7 times
- usr.sbin/nfsuserd/nfsuserd.c, 5 times
- usr.sbin/ppp/exec.c, line 260
- usr.sbin/ppp/iface.c, 7 times
- usr.sbin/ppp/mp.c, line 1138
- usr.sbin/ppp/probe.c, line 61
- usr.sbin/ppp/tun.c, line 92
- usr.sbin/ppp/udp.c, 2 times
- usr.sbin/rip6query/rip6query.c, 2 times
- usr.sbin/route6d/route6d.c, 3 times
- usr.sbin/rpc.lockd/lockd.c, line 212
- usr.sbin/rpc.statd/statd.c, line 146
- usr.sbin/rpc.yppasswdd/yppasswdd_main.c, line 131
- usr.sbin/rpc.ypupdated/ypupdated_main.c, 2 times
- usr.sbin/rpc.ypxfrd/ypxfrd_main.c, 2 times
- usr.sbin/rpcbind/rpcb_svc_com.c, line 624
- usr.sbin/rpcbind/util.c, line 370
- usr.sbin/rtadvd/config.c, 2 times
- usr.sbin/rtadvd/if.c, 2 times
- usr.sbin/rtadvd/rrenum.c, line 267
- usr.sbin/rtsold/cap_llflags.c, line 71
- usr.sbin/rtsold/if.c, line 117
- usr.sbin/rtsold/rtsold.c, 2 times
- usr.sbin/rwhod/rwhod.c, line 248
- usr.sbin/syslogd/syslogd.c, 5 times
- usr.sbin/traceroute/findsaddr-udp.c, line 63
- usr.sbin/traceroute6/traceroute6.c, 2 times
- usr.sbin/uhsoctl/uhsoctl.c, 2 times
- usr.sbin/usbdump/usbdump.c, line 923
- usr.sbin/wpa/ndis_events/ndis_events.c, 2 times
- usr.sbin/wpa/wpa_supplicant/Packet32.c, line 120
- usr.sbin/ypbind/yp_ping.c, line 258
- usr.sbin/ypldap/ypldap_dns.c, line 217
- usr.sbin/ypserv/yp_dnslookup.c, 7 times
- usr.sbin/ypserv/yp_main.c, line 232