Defined in 7 files as a struct:
Defined in 2 files as a function:
Referenced in 383 files:
- contrib/apr/include/apr_network_io.h, line 269
- contrib/apr/network_io/unix/multicast.c, line 65
- contrib/apr/network_io/unix/sockaddr.c, line 194
- contrib/bearssl/samples/client_basic.c, line 71
- contrib/bearssl/samples/server_basic.c, 3 times
- contrib/bearssl/tools/client.c, line 78
- contrib/bearssl/tools/server.c, 2 times
- 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/bsnmp/snmpd/trans_inet.c, 8 times
- 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/libevent/bufferevent-internal.h, line 228
- contrib/libevent/bufferevent_async.c, 2 times
- contrib/libevent/evdns.c, 5 times
- contrib/libevent/evutil.c, 17 times
- contrib/libevent/http.c, line 2574
- contrib/libevent/listener.c, line 497
- contrib/libevent/sample/dns-example.c, 2 times
- contrib/libevent/sample/http-server.c, 2 times
- contrib/libevent/test/regress_testutils.c, line 87
- contrib/libevent/test/regress_util.c, 7 times
- contrib/libevent/util-internal.h, line 341
- contrib/libpcap/fad-getad.c, line 121
- contrib/libpcap/gencode.c, 3 times
- contrib/libpcap/nametoaddr.c, 3 times
- contrib/libpcap/pcap-rpcap.c, 3 times
- contrib/libpcap/rpcapd/daemon.c, 2 times
- contrib/libpcap/rpcapd/rpcapd.c, 2 times
- contrib/libpcap/sockutils.c, 7 times
- contrib/libpcap/testprogs/findalldevstest.c, 4 times
- contrib/llvm-project/lldb/include/lldb/Host/SocketAddress.h, 5 times
- contrib/llvm-project/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 3017
- 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 959
- contrib/sendmail/src/map.c, 2 times
- contrib/sendmail/src/milter.c, 2 times
- contrib/sendmail/src/sendmail.h, line 1560
- contrib/sendmail/src/usersmtp.c, line 1681
- 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 276
- 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, 3 times
- contrib/unbound/dnstap/dnstap.c, 2 times
- contrib/unbound/edns-subnet/subnetmod.c, line 622
- contrib/unbound/iterator/iter_delegpt.c, line 450
- contrib/unbound/iterator/iter_hints.c, line 370
- contrib/unbound/iterator/iter_priv.c, line 272
- contrib/unbound/respip/respip.c, 3 times
- contrib/unbound/services/authzone.c, 4 times
- contrib/unbound/services/cache/infra.c, 2 times
- contrib/unbound/services/listen_dnsport.c, 3 times
- contrib/unbound/services/outside_network.c, 6 times
- contrib/unbound/smallapp/unbound-anchor.c, 4 times
- contrib/unbound/util/config_file.c, line 2308
- contrib/unbound/util/net_help.c, 28 times
- contrib/wpa/src/common/ctrl_iface_common.c, 3 times
- contrib/wpa/src/common/dpp.c, 2 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/src/radius/radius_client.c, line 1068
- contrib/wpa/src/radius/radius_das.c, line 389
- contrib/wpa/src/radius/radius_server.c, 3 times
- contrib/wpa/wpa_supplicant/ctrl_iface_udp.c, 7 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 776
- crypto/openssh/canohost.c, 4 times
- crypto/openssh/channels.c, line 3412
- 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 477
- crypto/openssh/regress/netcat.c, 2 times
- crypto/openssh/ssh.c, line 570
- crypto/openssh/sshconnect.c, 6 times
- crypto/openssl/crypto/bio/b_addr.c, line 74
- crypto/openssl/crypto/bio/bio_local.h, line 78
- include/resolv.h, line 200
- 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 225
- 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 567
- lib/libcasper/services/cap_net/cap_net.c, 7 times
- lib/libcasper/services/cap_net/tests/net_test.c, 2 times
- lib/libfetch/common.c, 2 times
- lib/libfetch/ftp.c, 7 times
- lib/libifconfig/libifconfig.h, 2 times
- lib/libifconfig/libifconfig_inet6.c, 4 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 833
- libexec/tftpd/tests/functional.c, 5 times
- libexec/tftpd/tftp-utils.c, line 87
- libexec/tftpd/tftp-utils.h, line 67
- 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.c, 3 times
- sys/compat/linuxkpi/common/include/linux/inetdevice.h, line 65
- 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/dev/cxgbe/iw_cxgbe/cm.c, 8 times
- sys/dev/cxgbe/tom/t4_listen.c, 5 times
- sys/dev/cxgbe/tom/t4_tom_l2t.c, 5 times
- sys/fs/nfs/nfs_commonsubs.c, 10 times
- sys/fs/nfs/nfs_var.h, line 350
- sys/fs/nfs/nfsrvstate.h, line 403
- sys/fs/nfsclient/nfs_clport.c, 2 times
- sys/fs/nfsclient/nfs_clrpcops.c, 6 times
- sys/fs/nfsserver/nfs_nfsdcache.c, 2 times
- sys/fs/nfsserver/nfs_nfsdport.c, 3 times
- sys/fs/nfsserver/nfs_nfsdserv.c, 8 times
- sys/fs/nfsserver/nfs_nfsdstate.c, 17 times
- sys/kern/kern_jail.c, 2 times
- sys/kern/vfs_export.c, line 194
- sys/kgssapi/gsstest.c, 3 times
- sys/net/if_ethersubr.c, 3 times
- sys/net/if_fwsubr.c, 2 times
- sys/net/if_infiniband.c, 3 times
- sys/net/if_ipsec.c, 5 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, 8 times
- sys/net/if_vxlan.h, line 60
- sys/net/pfvar.h, line 1041
- sys/net/route.c, line 718
- sys/net/route/nhop.h, line 130
- sys/net/route/nhop_ctl.c, 3 times
- sys/net/route/route_ctl.c, 2 times
- sys/net/route/route_ddb.c, 3 times
- sys/net/route/route_helpers.c, 2 times
- sys/net/route/route_var.h, line 164
- sys/net/rtsock.c, 12 times
- sys/netgraph/netflow/netflow.c, 8 times
- sys/netinet/in_pcb.c, 2 times
- sys/netinet/ip_fw.h, line 397
- 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 69
- sys/netinet/sctp_pcb.c, 50 times
- sys/netinet/sctp_pcb.h, 2 times
- sys/netinet/sctp_sysctl.c, line 269
- sys/netinet/sctp_timer.c, 4 times
- sys/netinet/sctp_uio.h, line 631
- sys/netinet/sctp_usrreq.c, 69 times
- sys/netinet/sctputil.c, 44 times
- sys/netinet/sctputil.h, 5 times
- sys/netinet/tcp_input.c, 2 times
- sys/netinet/tcp_offload.c, line 90
- sys/netinet/tcp_subr.c, 13 times
- sys/netinet/tcp_syncache.c, line 875
- sys/netinet/tcp_usrreq.c, 6 times
- sys/netinet/toecore.c, line 413
- sys/netinet/udp_usrreq.c, 2 times
- sys/netinet6/icmp6.c, 14 times
- sys/netinet6/in6.c, 29 times
- sys/netinet6/in6.h, 6 times
- sys/netinet6/in6_fib.c, 6 times
- sys/netinet6/in6_gif.c, 4 times
- sys/netinet6/in6_ifattach.c, line 546
- sys/netinet6/in6_mcast.c, 29 times
- sys/netinet6/in6_pcb.c, 15 times
- sys/netinet6/in6_pcb.h, 2 times
- sys/netinet6/in6_rmx.c, 3 times
- sys/netinet6/in6_src.c, 17 times
- sys/netinet6/in6_var.h, 21 times
- sys/netinet6/ip6_fastfwd.c, 2 times
- sys/netinet6/ip6_forward.c, 4 times
- sys/netinet6/ip6_gre.c, 7 times
- sys/netinet6/ip6_input.c, line 1546
- 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, 3 times
- sys/netinet6/ip6protosw.h, 2 times
- sys/netinet6/nd6.c, 23 times
- sys/netinet6/nd6.h, 8 times
- sys/netinet6/nd6_nbr.c, 4 times
- sys/netinet6/nd6_rtr.c, 8 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 116
- sys/netinet6/udp6_usrreq.c, 18 times
- sys/netipsec/ipsec_input.c, line 179
- 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 54
- sys/netipsec/subr_ipsec.c, 4 times
- sys/netipsec/xform_ipcomp.c, line 708
- sys/netpfil/ipfw/ip_fw2.c, line 3060
- sys/netpfil/ipfw/ip_fw_pfil.c, 2 times
- sys/netpfil/ipfw/ip_fw_private.h, 2 times
- sys/netpfil/ipfw/ip_fw_table_algo.c, 5 times
- sys/netpfil/ipfw/nat64/nat64_translate.c, 4 times
- sys/netpfil/ipfw/nptv6/nptv6.c, line 632
- sys/netpfil/pf/pf.c, line 5538
- 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, 46 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_ucma.c, 2 times
- sys/ofed/include/rdma/ib_addr.h, 5 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/net/routing/rtsock_common.h, 10 times
- tests/sys/net/routing/rtsock_config.h, 5 times
- tests/sys/net/routing/rtsock_print.h, 2 times
- tests/sys/net/routing/test_rtsock_l3.c, 21 times
- tests/sys/net/routing/test_rtsock_lladdr.c, 4 times
- tests/sys/netinet/so_reuseport_lb_test.c, line 189
- 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/regression/sockets/udp_pingpong/udp_pingpong.c, line 87
- 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
- tools/tools/switch_tls/switch_tls.c, line 331
- usr.bin/fstat/fstat.c, 2 times
- usr.bin/kdump/kdump.c, line 1824
- usr.bin/netstat/inet6.c, line 1325
- usr.bin/netstat/netstat.h, 3 times
- usr.bin/netstat/nhops.c, line 137
- 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, 6 times
- usr.sbin/inetd/inetd.h, line 99
- usr.sbin/ip6addrctl/ip6addrctl.c, 4 times
- usr.sbin/jail/config.c, line 586
- 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 1170
- usr.sbin/nfsuserd/nfsuserd.c, 7 times
- usr.sbin/pnfsdscopymr/pnfsdscopymr.c, line 78
- usr.sbin/pnfsdsfile/pnfsdsfile.c, line 72
- usr.sbin/ppp/iface.c, line 344
- 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 357
- 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 158
- 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 440
- usr.sbin/rtadvd/rrenum.h, line 36
- usr.sbin/rtadvd/rtadvd.c, 8 times
- usr.sbin/rtadvd/rtadvd.h, 4 times
- usr.sbin/rtsold/cap_llflags.c, 2 times
- usr.sbin/rtsold/cap_sendmsg.c, 3 times
- usr.sbin/rtsold/rtsol.c, line 164
- usr.sbin/rtsold/rtsold.c, line 479
- usr.sbin/rtsold/rtsold.h, 2 times
- usr.sbin/syslogd/syslogd.c, 4 times
- usr.sbin/tcpdrop/tcpdrop.c, line 334
- usr.sbin/traceroute6/traceroute6.c, 14 times
- usr.sbin/ypldap/ldapclient.c, 2 times
- usr.sbin/ypldap/ypldap_dns.c, 4 times