Defined in 7 files as a struct:
Defined in 2 files as a function:
Referenced in 339 files:
- contrib/apr/include/apr_network_io.h, line 243
- contrib/apr/network_io/unix/sockaddr.c, line 164
- contrib/blacklist/bin/blacklistd.c, line 140
- contrib/blacklist/bin/conf.c, 5 times
- contrib/blacklist/lib/bl.c, line 326
- contrib/blacklist/port/sockaddr_snprintf.c, 4 times
- contrib/blacklist/test/cltest.c, line 71
- contrib/blacklist/test/srvtest.c, line 119
- contrib/hyperv/tools/hv_kvp_daemon.c, 4 times
- contrib/ipfilter/ip_fil.c, 4 times
- contrib/ipfilter/lib/gethost.c, 2 times
- contrib/ipfilter/lib/save_v1trap.c, line 32
- contrib/ipfilter/lib/save_v2trap.c, line 36
- contrib/ldns/net.c, 5 times
- contrib/libpcap/fad-getad.c, line 121
- contrib/libpcap/gencode.c, 3 times
- contrib/libpcap/pcap-rpcap.c, 4 times
- contrib/libpcap/sockutils.c, 7 times
- contrib/libpcap/tests/findalldevstest.c, 4 times
- contrib/llvm/tools/lldb/include/lldb/Host/SocketAddress.h, 5 times
- contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp, 3 times
- contrib/netbsd-tests/lib/libc/net/h_dns_server.c, 3 times
- contrib/netbsd-tests/lib/libutil/t_sockaddr_snprintf.c, line 82
- contrib/netbsd-tests/net/mcast/mcast.c, 2 times
- contrib/netbsd-tests/sys/netinet6/t_print.c, line 116
- contrib/netcat/socks.c, 2 times
- contrib/ntp/include/ntp_net.h, 2 times
- contrib/ntp/lib/isc/include/isc/sockaddr.h, line 36
- contrib/ntp/lib/isc/unix/interfaceiter.c, 2 times
- contrib/ntp/lib/isc/unix/net.c, 2 times
- contrib/ntp/lib/isc/win32/interfaceiter.c, 2 times
- contrib/ntp/libntp/is_ip_address.c, 2 times
- contrib/ntp/libntp/ntp_rfc2553.c, 7 times
- contrib/ntp/ntpdc/ntpdc.c, 3 times
- contrib/ntp/ntpq/ntpq-subs.c, line 2959
- contrib/ntp/ntpq/ntpq.c, 3 times
- contrib/ntp/sntp/libevent/bufferevent_async.c, 2 times
- contrib/ntp/sntp/libevent/evdns.c, 5 times
- contrib/ntp/sntp/libevent/evutil.c, 16 times
- contrib/ntp/sntp/libevent/listener.c, line 496
- contrib/ntp/sntp/libevent/test/regress_testutils.c, line 87
- contrib/ntp/sntp/libevent/test/regress_util.c, 7 times
- contrib/ntp/sntp/libevent/util-internal.h, line 341
- contrib/ofed/libibverbs/neigh.c, 4 times
- contrib/ofed/librdmacm/acm.c, 4 times
- contrib/ofed/librdmacm/addrinfo.c, 3 times
- contrib/ofed/librdmacm/cma.c, 2 times
- contrib/ofed/librdmacm/examples/common.h, line 69
- contrib/ofed/librdmacm/examples/rcopy.c, line 51
- contrib/ofed/librdmacm/examples/rping.c, 2 times
- contrib/ofed/librdmacm/preload.c, 2 times
- contrib/ofed/librdmacm/rdma_cma.h, 2 times
- contrib/ofed/librdmacm/rdma_cma_abi.h, 6 times
- contrib/ofed/librdmacm/rsocket.c, 4 times
- contrib/openbsm/bin/auditdistd/pjdlog.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 6 times
- contrib/openbsm/libauditd/auditd_lib.c, 2 times
- contrib/openbsm/libbsm/bsm_token.c, 4 times
- contrib/openbsm/sys/bsm/audit_record.h, 2 times
- contrib/pf/ftp-proxy/filter.c, 9 times
- contrib/pf/ftp-proxy/ftp-proxy.c, 2 times
- contrib/pf/tftp-proxy/filter.c, 9 times
- contrib/pf/tftp-proxy/tftp-proxy.c, 2 times
- contrib/sendmail/libmilter/listener.c, line 342
- contrib/sendmail/libsm/t-inet6_ntop.c, line 43
- contrib/sendmail/src/daemon.c, 4 times
- contrib/sendmail/src/domain.c, line 523
- contrib/sendmail/src/map.c, 2 times
- contrib/sendmail/src/milter.c, 2 times
- contrib/sendmail/src/sendmail.h, line 1464
- contrib/sendmail/src/usersmtp.c, line 1664
- contrib/tcp_wrappers/hosts_access.c, 2 times
- contrib/tcp_wrappers/rfc931.c, 3 times
- contrib/tcp_wrappers/socket.c, 8 times
- contrib/tcp_wrappers/tcpdmatch.c, line 278
- contrib/tcpdump/addrtoname.c, line 113
- contrib/telnet/telnet/commands.c, 3 times
- contrib/tnftp/src/ftp.c, 5 times
- contrib/unbound/dns64/dns64.c, 2 times
- contrib/unbound/dnstap/dnstap.c, 2 times
- contrib/unbound/iterator/iter_delegpt.c, line 434
- contrib/unbound/iterator/iter_hints.c, line 358
- contrib/unbound/iterator/iter_priv.c, line 272
- contrib/unbound/services/cache/infra.c, 2 times
- contrib/unbound/services/listen_dnsport.c, line 81
- contrib/unbound/services/outside_network.c, 4 times
- contrib/unbound/smallapp/unbound-anchor.c, 4 times
- contrib/unbound/util/config_file.c, line 1763
- contrib/unbound/util/net_help.c, 23 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/src/radius/radius_client.c, line 1010
- contrib/wpa/src/radius/radius_das.c, line 194
- contrib/wpa/src/radius/radius_server.c, 3 times
- contrib/wpa/wpa_supplicant/ctrl_iface_udp.c, 6 times
- crypto/heimdal/appl/ftp/ftp/gssapi.c, 2 times
- crypto/heimdal/appl/ftp/ftpd/gssapi.c, 2 times
- crypto/heimdal/appl/rsh/rsh.c, line 621
- crypto/heimdal/appl/telnet/telnet/commands.c, 2 times
- crypto/heimdal/lib/kadm5/ipropd_master.c, 2 times
- crypto/heimdal/lib/krb5/addr_families.c, 12 times
- crypto/heimdal/lib/roken/getaddrinfo.c, 2 times
- crypto/heimdal/lib/roken/getifaddrs.c, 7 times
- crypto/heimdal/lib/roken/getnameinfo.c, 2 times
- crypto/heimdal/lib/roken/inet_pton.c, line 71
- crypto/heimdal/lib/roken/socket.c, 11 times
- crypto/heimdal/lib/roken/socket_wrapper.c, 9 times
- crypto/openssh/addrmatch.c, 2 times
- crypto/openssh/audit-bsm.c, 2 times
- crypto/openssh/auth.c, line 833
- crypto/openssh/canohost.c, 4 times
- crypto/openssh/channels.c, line 3245
- crypto/openssh/loginrec.c, 6 times
- crypto/openssh/openbsd-compat/bindresvport.c, 3 times
- crypto/openssh/openbsd-compat/port-aix.c, 2 times
- crypto/openssh/openbsd-compat/rresvport.c, 2 times
- crypto/openssh/packet.c, line 482
- crypto/openssh/regress/netcat.c, 2 times
- crypto/openssh/ssh.c, line 501
- crypto/openssh/sshconnect.c, 2 times
- crypto/openssl/apps/s_cb.c, 2 times
- crypto/openssl/crypto/bio/b_sock.c, 2 times
- crypto/openssl/crypto/bio/bss_dgram.c, 4 times
- include/resolv.h, line 198
- lib/libc/net/getaddrinfo.c, 20 times
- lib/libc/net/getnameinfo.c, 8 times
- lib/libc/net/name6.c, 9 times
- lib/libc/net/rcmd.c, 9 times
- lib/libc/net/sctp_sys_calls.c, 21 times
- lib/libc/net/sourcefilter.c, 3 times
- lib/libc/resolv/res_init.c, line 223
- lib/libc/resolv/res_send.c, 7 times
- lib/libc/rpc/bindresvport.c, 3 times
- lib/libc/rpc/clnt_bcast.c, 3 times
- lib/libc/rpc/rpc_generic.c, 8 times
- lib/libc/tests/nss/gethostby_test.c, 4 times
- lib/libcasper/services/cap_dns/cap_dns.c, line 562
- lib/libfetch/common.c, 2 times
- lib/libfetch/ftp.c, 7 times
- lib/libnetbsd/sockaddr_snprintf.c, 3 times
- lib/libpjdlog/pjdlog.c, 4 times
- lib/libutil/realhostname.c, 3 times
- libexec/ftpd/extern.h, 2 times
- libexec/ftpd/ftpd.c, line 831
- libexec/rlogind/rlogind.c, line 114
- libexec/rshd/rshd.c, line 218
- libexec/tftpd/tests/functional.c, 5 times
- libexec/tftpd/tftp-utils.c, line 84
- libexec/tftpd/tftp-utils.h, line 59
- libexec/tftpd/tftpd.c, 2 times
- sbin/hastd/pjdlog.c, 2 times
- sbin/hastd/proto_tcp.c, 3 times
- sbin/ifconfig/af_inet6.c, 12 times
- sbin/ifconfig/ifvxlan.c, 8 times
- sbin/ipfw/ipfw2.c, 4 times
- sbin/ipfw/tables.c, 3 times
- sbin/pfctl/pf_print_state.c, line 157
- sbin/pfctl/pfctl.c, 4 times
- sbin/pfctl/pfctl_parser.c, 13 times
- sbin/ping6/ping6.c, 8 times
- sbin/route/route.c, 13 times
- sbin/umount/umount.c, 4 times
- sys/bsm/audit_record.h, 2 times
- sys/compat/linux/linux_socket.c, 3 times
- sys/compat/linuxkpi/common/include/linux/inetdevice.h, line 63
- sys/contrib/ipfilter/netinet/fil.c, line 6820
- sys/contrib/ipfilter/netinet/ip_fil.h, 2 times
- sys/contrib/ipfilter/netinet/ip_fil_freebsd.c, 3 times
- sys/contrib/rdma/krping/krping.c, 2 times
- sys/contrib/rdma/krping_compat/krping.c, 2 times
- sys/dev/cxgbe/iw_cxgbe/cm.c, 8 times
- sys/dev/cxgbe/tom/t4_listen.c, 4 times
- sys/dev/cxgbe/tom/t4_tom_l2t.c, 5 times
- sys/fs/nfs/nfs_commonsubs.c, 7 times
- sys/fs/nfsclient/nfs_clport.c, 2 times
- sys/fs/nfsclient/nfs_clrpcops.c, 4 times
- sys/fs/nfsserver/nfs_nfsdcache.c, 2 times
- sys/fs/nfsserver/nfs_nfsdport.c, 2 times
- sys/fs/nfsserver/nfs_nfsdstate.c, 6 times
- sys/kern/kern_jail.c, 2 times
- sys/kern/vfs_export.c, line 188
- sys/kgssapi/gsstest.c, 3 times
- sys/net/flowtable.c, 3 times
- sys/net/if_arcsubr.c, 2 times
- sys/net/if_ethersubr.c, 3 times
- sys/net/if_fddisubr.c, 2 times
- sys/net/if_fwsubr.c, 2 times
- sys/net/if_gif.c, 3 times
- sys/net/if_gre.c, 3 times
- sys/net/if_ipsec.c, 4 times
- sys/net/if_iso88025subr.c, 2 times
- sys/net/if_llatbl.c, 2 times
- sys/net/if_spppsubr.c, 7 times
- sys/net/if_stf.c, 6 times
- sys/net/if_vxlan.c, 5 times
- sys/net/if_vxlan.h, line 60
- sys/net/pfvar.h, line 1012
- sys/net/route.c, line 1393
- sys/net/rtsock.c, 12 times
- sys/netgraph/netflow/netflow.c, 8 times
- sys/netinet/ip_encap.c, 3 times
- sys/netinet/ip_fw.h, line 385
- sys/netinet/sctp_asconf.c, 27 times
- sys/netinet/sctp_bsd_addr.c, 2 times
- sys/netinet/sctp_input.c, 4 times
- sys/netinet/sctp_output.c, 40 times
- sys/netinet/sctp_output.h, line 71
- sys/netinet/sctp_pcb.c, 50 times
- sys/netinet/sctp_pcb.h, 2 times
- sys/netinet/sctp_sysctl.c, line 270
- sys/netinet/sctp_timer.c, 4 times
- sys/netinet/sctp_uio.h, line 1144
- sys/netinet/sctp_usrreq.c, 64 times
- sys/netinet/sctputil.c, 44 times
- sys/netinet/sctputil.h, 5 times
- sys/netinet/tcp_input.c, 2 times
- sys/netinet/tcp_subr.c, 8 times
- sys/netinet/tcp_syncache.c, line 767
- sys/netinet/tcp_usrreq.c, 4 times
- sys/netinet/toecore.c, line 394
- sys/netinet/udp_usrreq.c, 2 times
- sys/netinet6/icmp6.c, 15 times
- sys/netinet6/in6.c, 30 times
- sys/netinet6/in6.h, 6 times
- sys/netinet6/in6_fib.c, 10 times
- sys/netinet6/in6_ifattach.c, line 563
- sys/netinet6/in6_mcast.c, 29 times
- sys/netinet6/in6_pcb.c, 14 times
- sys/netinet6/in6_pcb.h, 2 times
- sys/netinet6/in6_rmx.c, 3 times
- sys/netinet6/in6_src.c, 18 times
- sys/netinet6/in6_var.h, 21 times
- sys/netinet6/ip6_fastfwd.c, 2 times
- sys/netinet6/ip6_forward.c, 6 times
- sys/netinet6/ip6_input.c, line 1538
- sys/netinet6/ip6_mroute.c, 12 times
- sys/netinet6/ip6_mroute.h, 6 times
- sys/netinet6/ip6_output.c, 12 times
- sys/netinet6/ip6_var.h, 4 times
- sys/netinet6/ip6protosw.h, 2 times
- sys/netinet6/nd6.c, 25 times
- sys/netinet6/nd6.h, 8 times
- sys/netinet6/nd6_nbr.c, 4 times
- sys/netinet6/nd6_rtr.c, 9 times
- sys/netinet6/raw_ip6.c, 18 times
- sys/netinet6/scope6.c, 4 times
- sys/netinet6/scope6_var.h, 4 times
- sys/netinet6/sctp6_usrreq.c, 35 times
- sys/netinet6/send.c, line 115
- sys/netinet6/udp6_usrreq.c, 20 times
- sys/netipsec/ipsec_input.c, line 180
- sys/netipsec/ipsec_output.c, 4 times
- sys/netipsec/ipsec_pcb.c, 4 times
- sys/netipsec/key.c, 6 times
- sys/netipsec/key_debug.c, 3 times
- sys/netipsec/keydb.h, line 51
- sys/netipsec/subr_ipsec.c, 4 times
- sys/netipsec/xform_ipcomp.c, line 728
- sys/netpfil/ipfw/ip_fw2.c, 2 times
- sys/netpfil/ipfw/ip_fw_pfil.c, 3 times
- sys/netpfil/ipfw/ip_fw_private.h, 3 times
- sys/netpfil/ipfw/ip_fw_table_algo.c, 5 times
- sys/netpfil/ipfw/nat64/nat64_translate.c, 4 times
- sys/netpfil/pf/pf.c, 3 times
- sys/netpfil/pf/pf_if.c, 3 times
- sys/netpfil/pf/pf_table.c, 4 times
- sys/nlm/nlm_prot_impl.c, 8 times
- sys/ofed/drivers/infiniband/core/ib_addr.c, 10 times
- sys/ofed/drivers/infiniband/core/ib_cma.c, 38 times
- sys/ofed/drivers/infiniband/core/ib_iwpm_util.c, 6 times
- sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_sa_query.c, line 673
- sys/ofed/drivers/infiniband/core/ib_ucma.c, 2 times
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c, 3 times
- sys/ofed/include/rdma/ib_addr.h, 3 times
- sys/ofed/include/uapi/rdma/rdma_user_cm.h, 6 times
- sys/rpc/rpc_generic.c, 7 times
- sys/security/audit/bsm_token.c, 4 times
- tests/sys/netinet/udp_dontroute.c, 3 times
- tools/regression/netinet/ipmulticast/ipmulticast.c, line 72
- tools/regression/netinet/udpzerobyte/udpzerobyte.c, line 112
- tools/regression/netinet6/inet6_rth/inet6_rth-segments.c, 2 times
- tools/regression/netinet6/ip6_sockets/ip6_sockets.c, line 44
- tools/test/netfibs/reflect.c, 2 times
- tools/tools/ifpifa/ifpifa.c, line 96
- tools/tools/net80211/wlanwatch/wlanwatch.c, 3 times
- tools/tools/netrate/netsend/netsend.c, line 54
- usr.bin/kdump/kdump.c, line 1877
- usr.bin/netstat/inet6.c, line 1311
- usr.bin/netstat/netstat.h, 3 times
- usr.bin/netstat/route.c, 6 times
- usr.bin/procstat/procstat_files.c, 2 times
- usr.bin/sockstat/sockstat.c, 4 times
- usr.bin/systat/netstat.c, 7 times
- usr.bin/truss/syscalls.c, 2 times
- usr.bin/w/w.c, 2 times
- usr.sbin/ctld/ctld.c, 4 times
- usr.sbin/ctld/isns.c, 4 times
- usr.sbin/ifmcstat/ifmcstat.c, 3 times
- usr.sbin/inetd/builtins.c, 3 times
- usr.sbin/inetd/inetd.c, 7 times
- usr.sbin/inetd/inetd.h, line 93
- usr.sbin/ip6addrctl/ip6addrctl.c, 4 times
- usr.sbin/jail/config.c, line 568
- usr.sbin/mld6query/mld6.c, 4 times
- usr.sbin/mountd/mountd.c, 8 times
- usr.sbin/mtest/mtest.c, 2 times
- usr.sbin/ndp/ndp.c, 23 times
- usr.sbin/nfsd/nfsd.c, line 153
- usr.sbin/ppp/iface.c, line 343
- usr.sbin/ppp/ncpaddr.c, 14 times
- usr.sbin/ppp/route.c, 2 times
- usr.sbin/ppp/server.c, 4 times
- usr.sbin/pppctl/pppctl.c, line 355
- usr.sbin/rip6query/rip6query.c, 3 times
- usr.sbin/route6d/route6d.c, 58 times
- usr.sbin/rpc.lockd/lock_proc.c, 2 times
- usr.sbin/rpc.lockd/lockd.c, 3 times
- usr.sbin/rpc.statd/statd.c, 3 times
- usr.sbin/rpcbind/rpcbind.h, line 151
- usr.sbin/rpcbind/security.c, 2 times
- usr.sbin/rpcbind/tests/addrmerge_test.c, 8 times
- usr.sbin/rpcbind/util.c, 6 times
- usr.sbin/rrenumd/rrenumd.c, 8 times
- usr.sbin/rtadvd/config.c, 2 times
- usr.sbin/rtadvd/if.c, 4 times
- usr.sbin/rtadvd/rrenum.c, line 437
- usr.sbin/rtadvd/rrenum.h, line 34
- usr.sbin/rtadvd/rtadvd.c, 8 times
- usr.sbin/rtadvd/rtadvd.h, 4 times
- usr.sbin/rtsold/if.c, 2 times
- usr.sbin/rtsold/probe.c, 2 times
- usr.sbin/rtsold/rtsol.c, 4 times
- usr.sbin/rtsold/rtsold.c, line 488
- usr.sbin/rtsold/rtsold.h, 2 times
- usr.sbin/syslogd/syslogd.c, 11 times
- usr.sbin/tcpdrop/tcpdrop.c, line 306
- usr.sbin/traceroute6/traceroute6.c, 10 times
- usr.sbin/ypldap/ldapclient.c, 2 times
- usr.sbin/ypldap/ypldap_dns.c, 4 times