Home
last modified time | relevance | path

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

1234

/linux/samples/bpf/
A Dxdp_tx_iptunnel_user.c111 return AF_UNSPEC; in parse_ipstr()
171 tnl.family = AF_UNSPEC; in main()
190 if (vip.family == AF_UNSPEC) in main()
208 if (family == AF_UNSPEC) in main()
210 if (tnl.family == AF_UNSPEC) { in main()
/linux/tools/testing/selftests/bpf/
A 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/net/netlabel/
A 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()
A 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/tools/testing/selftests/netfilter/
A 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/tools/lib/bpf/
A Dnetlink.c195 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
435 req.tc.tcm_family = AF_UNSPEC; in tc_qdisc_modify()
594 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_attach()
669 req.tc.tcm_family = AF_UNSPEC; in __bpf_tc_detach()
736 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_query()
/linux/tools/testing/selftests/net/
A Dcmsg_so_mark.c29 hints.ai_family = AF_UNSPEC; in main()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_ktls.c33 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h176 #define AF_UNSPEC 0 macro
233 #define PF_UNSPEC AF_UNSPEC
/linux/include/linux/
A Dsocket.h176 #define AF_UNSPEC 0 macro
233 #define PF_UNSPEC AF_UNSPEC
/linux/tools/bpf/bpftool/
A 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/net/ipv4/
A Dinet_diag.c708 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
861 case AF_UNSPEC: in valid_hostcond()
1049 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1112 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1280 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
A Dudp_diag.c123 if (r->sdiag_family != AF_UNSPEC && in udp_dump()
/linux/net/xfrm/
A 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/net/mptcp/
A Dmptcp_diag.c89 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
/linux/include/net/
A Drtnetlink.h28 return AF_UNSPEC; in rtnl_msg_family()
/linux/net/core/
A Ddev_ioctl.c352 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
360 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
A Ddst.c277 .family = AF_UNSPEC,
/linux/net/netfilter/ipvs/
A Dip_vs_pe_sip.c117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match()
/linux/net/sched/
A Dsch_frag.c79 .family = AF_UNSPEC,
/linux/net/netfilter/
A Dnfnetlink_cttimeout.c181 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info()
392 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
/linux/fs/nfs/
A Dfs_context.c1324 if (ctx->protofamily != AF_UNSPEC && in nfs_fs_context_validate()
1328 if (ctx->mountfamily != AF_UNSPEC) { in nfs_fs_context_validate()
1506 ctx->protofamily = AF_UNSPEC; in nfs_init_fs_context()
1507 ctx->mountfamily = AF_UNSPEC; in nfs_init_fs_context()
/linux/tools/usb/usbip/src/
A Dusbip_network.c268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
/linux/net/sctp/
A Ddiag.c356 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
382 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
/linux/security/selinux/
A Dnetlabel.c554 if (addr->sa_family == AF_UNSPEC) { in selinux_netlbl_socket_connect_helper()

Completed in 40 milliseconds

1234