/Linux-v5.10/samples/bpf/ |
D | xdp_tx_iptunnel_user.c | 111 return AF_UNSPEC; in parse_ipstr() 172 tnl.family = AF_UNSPEC; in main() 191 if (vip.family == AF_UNSPEC) in main() 209 if (family == AF_UNSPEC) in main() 211 if (tnl.family == AF_UNSPEC) { in main()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 69 static int cfg_l3_extra = AF_UNSPEC; /* optional SIT prefix */ 70 static int cfg_l3_inner = AF_UNSPEC; 71 static int cfg_l3_outer = AF_UNSPEC; 629 if (cfg_l3_outer == AF_UNSPEC) in parse_opts() 637 if (cfg_l3_inner == AF_UNSPEC) in parse_opts() 718 if (cfg_encap_proto && cfg_l3_outer == AF_UNSPEC) in parse_opts() 720 else if ((!cfg_encap_proto) && cfg_l3_outer != AF_UNSPEC) in parse_opts() 722 else if ((!cfg_encap_proto) && cfg_l3_extra != AF_UNSPEC) in parse_opts() 725 if (cfg_l3_inner == AF_UNSPEC) in parse_opts()
|
/Linux-v5.10/net/netlabel/ |
D | netlabel_domainhash.c | 121 return (f1 == f2) || (f1 == AF_UNSPEC) || (f2 == AF_UNSPEC); in netlbl_family_match() 180 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_search_def() 185 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_search_def() 287 (entry->family != AF_UNSPEC || in netlbl_domhsh_validate() 450 case AF_UNSPEC: in netlbl_domhsh_add() 802 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_remove() 811 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_remove() 859 if (family == AF_UNSPEC) in netlbl_domhsh_getentry()
|
D | netlabel_mgmt.c | 113 entry->family = AF_UNSPEC; in netlbl_mgmt_add_common() 463 return netlbl_domhsh_remove(domain, AF_UNSPEC, &audit_info); in netlbl_mgmt_remove() 581 return netlbl_domhsh_remove_default(AF_UNSPEC, &audit_info); in netlbl_mgmt_removedef()
|
/Linux-v5.10/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 135 nfg->nfgen_family = AF_UNSPEC; in nfq_build_cfg_request() 158 nfg->nfgen_family = AF_UNSPEC; in nfq_build_cfg_params() 181 nfg->nfgen_family = AF_UNSPEC; in nfq_build_verdict()
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_ktls.c | 33 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
|
/Linux-v5.10/include/linux/ |
D | socket.h | 176 #define AF_UNSPEC 0 macro 230 #define PF_UNSPEC AF_UNSPEC
|
/Linux-v5.10/net/core/ |
D | dev_ioctl.c | 298 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc() 306 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
|
D | dst.c | 241 .family = AF_UNSPEC,
|
D | utils.c | 389 case AF_UNSPEC: in inet_pton_with_scope()
|
/Linux-v5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 176 #define AF_UNSPEC 0 macro 230 #define PF_UNSPEC AF_UNSPEC
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | net.c | 224 .t.tcm_family = AF_UNSPEC, in netlink_get_class() 263 .t.tcm_family = AF_UNSPEC, in netlink_get_qdisc() 302 .t.tcm_family = AF_UNSPEC, in netlink_get_filter()
|
/Linux-v5.10/include/net/ |
D | rtnetlink.h | 28 return AF_UNSPEC; in rtnl_msg_family()
|
/Linux-v5.10/net/netfilter/ipvs/ |
D | ip_vs_pe_sip.c | 117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match()
|
/Linux-v5.10/net/xfrm/ |
D | xfrm_input.c | 371 if (x->sel.family == AF_UNSPEC) { in xfrm_prepare_input() 470 unsigned int family = AF_UNSPEC; in xfrm_input() 679 if (x->sel.family == AF_UNSPEC) { in xfrm_input()
|
/Linux-v5.10/net/ipv4/ |
D | inet_diag.c | 707 if (cond->family != AF_UNSPEC && in inet_diag_bc_run() 858 case AF_UNSPEC: in valid_hostcond() 1046 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk() 1109 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk() 1277 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
|
D | nexthop.c | 238 nhm->nh_family = AF_UNSPEC; in nh_fill_node() 427 if (*nh_family == AF_UNSPEC) { in nh_check_attr_fdb_group() 441 u8 nh_family = AF_UNSPEC; in nh_check_attr_group() 1484 case AF_UNSPEC: in rtm_to_nh_config() 1525 if (nhm->nh_family != AF_UNSPEC) { in rtm_to_nh_config()
|
D | udp_diag.c | 125 if (r->sdiag_family != AF_UNSPEC && in udp_dump()
|
/Linux-v5.10/net/mptcp/ |
D | mptcp_diag.c | 91 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
|
/Linux-v5.10/tools/usb/usbip/src/ |
D | usbip_network.c | 268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
|
/Linux-v5.10/net/netfilter/ |
D | nfnetlink_cttimeout.c | 175 nfmsg->nfgen_family = AF_UNSPEC; in ctnl_timeout_fill_info() 396 nfmsg->nfgen_family = AF_UNSPEC; in cttimeout_default_fill_info()
|
/Linux-v5.10/net/sctp/ |
D | diag.c | 362 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter() 388 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
|
/Linux-v5.10/fs/nfs/ |
D | fs_context.c | 1245 if (ctx->protofamily != AF_UNSPEC && in nfs_fs_context_validate() 1249 if (ctx->mountfamily != AF_UNSPEC) { in nfs_fs_context_validate() 1432 ctx->protofamily = AF_UNSPEC; in nfs_init_fs_context() 1433 ctx->mountfamily = AF_UNSPEC; in nfs_init_fs_context()
|
/Linux-v5.10/security/selinux/ |
D | netlabel.c | 551 if (addr->sa_family == AF_UNSPEC) { in selinux_netlbl_socket_connect_helper()
|
/Linux-v5.10/tools/lib/bpf/ |
D | netlink.c | 156 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
|