Home
last modified time | relevance | path

Searched refs:AF_UNSPEC (Results 1 – 25 of 96) sorted by relevance

1234

/linux-5.19.10/samples/bpf/
Dxdp_tx_iptunnel_user.c110 return AF_UNSPEC; in parse_ipstr()
168 tnl.family = AF_UNSPEC; in main()
187 if (vip.family == AF_UNSPEC) in main()
205 if (family == AF_UNSPEC) in main()
207 if (tnl.family == AF_UNSPEC) { in main()
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_flow_dissector.c69 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-5.19.10/net/netlabel/
Dnetlabel_domainhash.c121 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()
Dnetlabel_mgmt.c114 entry->family = AF_UNSPEC; in netlbl_mgmt_add_common()
464 return netlbl_domhsh_remove(domain, AF_UNSPEC, &audit_info); in netlbl_mgmt_remove()
582 return netlbl_domhsh_remove_default(AF_UNSPEC, &audit_info); in netlbl_mgmt_removedef()
/linux-5.19.10/tools/testing/selftests/netfilter/
Dnf-queue.c135 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-5.19.10/net/mptcp/
Dmptcp_diag.c111 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump_listeners()
172 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
Dpm_userspace.c443 if (loc->addr.family == AF_UNSPEC || in mptcp_userspace_pm_set_flags()
444 rem->addr.family == AF_UNSPEC) in mptcp_userspace_pm_set_flags()
/linux-5.19.10/tools/lib/bpf/
Dnetlink.c244 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
535 req.tc.tcm_family = AF_UNSPEC; in tc_qdisc_modify()
694 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_attach()
769 req.tc.tcm_family = AF_UNSPEC; in __bpf_tc_detach()
836 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_query()
/linux-5.19.10/tools/perf/trace/beauty/include/linux/
Dsocket.h180 #define AF_UNSPEC 0 macro
237 #define PF_UNSPEC AF_UNSPEC
/linux-5.19.10/include/linux/
Dsocket.h180 #define AF_UNSPEC 0 macro
237 #define PF_UNSPEC AF_UNSPEC
/linux-5.19.10/tools/bpf/bpftool/
Dnet.c223 .t.tcm_family = AF_UNSPEC, in netlink_get_class()
262 .t.tcm_family = AF_UNSPEC, in netlink_get_qdisc()
301 .t.tcm_family = AF_UNSPEC, in netlink_get_filter()
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dsockmap_ktls.c34 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
/linux-5.19.10/include/net/
Drtnetlink.h42 return AF_UNSPEC; in rtnl_msg_family()
/linux-5.19.10/tools/testing/selftests/net/
Dtun.c88 req.ifm.ifi_family = AF_UNSPEC; in tun_delete()
/linux-5.19.10/net/netfilter/ipvs/
Dip_vs_pe_sip.c117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match()
/linux-5.19.10/net/sched/
Dsch_frag.c80 .family = AF_UNSPEC,
/linux-5.19.10/net/core/
Ddev_ioctl.c355 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
363 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
Ddst.c277 .family = AF_UNSPEC,
/linux-5.19.10/net/xfrm/
Dxfrm_input.c371 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-5.19.10/net/ipv4/
Dinet_diag.c708 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
861 case AF_UNSPEC: in valid_hostcond()
1050 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1113 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1281 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
Dudp_diag.c123 if (r->sdiag_family != AF_UNSPEC && in udp_dump()
/linux-5.19.10/tools/usb/usbip/src/
Dusbip_network.c268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
/linux-5.19.10/net/sctp/
Ddiag.c353 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
379 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
/linux-5.19.10/net/netfilter/
Dnfnetlink_cttimeout.c194 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info()
405 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
/linux-5.19.10/fs/nfs/
Dfs_context.c1333 if (ctx->protofamily != AF_UNSPEC && in nfs_fs_context_validate()
1337 if (ctx->mountfamily != AF_UNSPEC) { in nfs_fs_context_validate()
1515 ctx->protofamily = AF_UNSPEC; in nfs_init_fs_context()
1516 ctx->mountfamily = AF_UNSPEC; in nfs_init_fs_context()

1234