Home
last modified time | relevance | path

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

12345

/linux-6.15/samples/bpf/
H A 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-6.15/net/netlabel/
H 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()
H A Dnetlabel_mgmt.c112 AF_UNSPEC); in netlbl_mgmt_add_common()
462 return netlbl_domhsh_remove(domain, AF_UNSPEC, &audit_info); in netlbl_mgmt_remove()
580 return netlbl_domhsh_remove_default(AF_UNSPEC, &audit_info); in netlbl_mgmt_removedef()
/linux-6.15/security/landlock/
H A Dnet.c73 case AF_UNSPEC: in current_check_access_socket()
123 if (address->sa_family == AF_UNSPEC) { in current_check_access_socket()
/linux-6.15/tools/testing/selftests/net/netfilter/
H 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()
H A Dconntrack_dump_flush.c236 nfh->nfgen_family = AF_UNSPEC; in conntracK_count_zone()
283 nfh->nfgen_family = AF_UNSPEC; in conntrack_flush_zone()
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c116 pi.ifi_family = AF_UNSPEC; in veth_pack_peerb()
151 req.info.ifi_family = AF_UNSPEC; in __add_veth()
321 req.info.ifi_family = AF_UNSPEC; in __link_set_up()
365 req.info.ifi_family = AF_UNSPEC; in __add_vrf()
/linux-6.15/net/mptcp/
H A Dmptcp_diag.c113 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump_listeners()
174 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
H A Dpm_userspace.c558 struct mptcp_addr_info rem = { .family = AF_UNSPEC, }; in mptcp_userspace_pm_set_flags()
576 if (local->addr.family == AF_UNSPEC) { in mptcp_userspace_pm_set_flags()
588 if (rem.family == AF_UNSPEC) { in mptcp_userspace_pm_set_flags()
/linux-6.15/tools/lib/bpf/
H A Dnetlink.c297 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
596 req.tc.tcm_family = AF_UNSPEC; in tc_qdisc_modify()
756 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_attach()
832 req.tc.tcm_family = AF_UNSPEC; in __bpf_tc_detach()
899 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_query()
/linux-6.15/tools/testing/selftests/landlock/
H A Dnet_test.c58 case AF_UNSPEC: in set_service()
123 case AF_UNSPEC: in get_addrlen()
146 case AF_UNSPEC: in set_port()
169 case AF_UNSPEC: in get_binded_port()
192 case AF_UNSPEC: in bind_variant_addrlen()
228 case AF_UNSPEC: in connect_variant_addrlen()
271 .domain = AF_UNSPEC, in FIXTURE_SETUP()
/linux-6.15/tools/perf/trace/beauty/include/linux/
H A Dsocket.h190 #define AF_UNSPEC 0 macro
247 #define PF_UNSPEC AF_UNSPEC
/linux-6.15/include/linux/
H A Dsocket.h190 #define AF_UNSPEC 0 macro
247 #define PF_UNSPEC AF_UNSPEC
/linux-6.15/net/ipv4/
H A Dinet_diag.c720 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
873 case AF_UNSPEC: in valid_hostcond()
1066 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1137 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1217 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1385 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c30 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
/linux-6.15/tools/testing/selftests/net/
H A Dtun.c88 req.ifm.ifi_family = AF_UNSPEC; in tun_delete()
H A Dtap.c106 req.info.ifi_family = AF_UNSPEC; in dev_create()
163 req.info.ifi_family = AF_UNSPEC; in dev_delete()
/linux-6.15/net/sched/
H A Dsch_frag.c80 .family = AF_UNSPEC,
/linux-6.15/net/netfilter/ipvs/
H 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-6.15/include/net/
H A Drtnetlink.h69 return AF_UNSPEC; in rtnl_msg_family()
/linux-6.15/tools/bpf/bpftool/
H A Dnet.c236 .t.tcm_family = AF_UNSPEC, in netlink_get_class()
275 .t.tcm_family = AF_UNSPEC, in netlink_get_qdisc()
314 .t.tcm_family = AF_UNSPEC, in netlink_get_filter()
/linux-6.15/tools/usb/usbip/src/
H A Dusbip_network.c268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
/linux-6.15/net/core/
H A Ddev_ioctl.c598 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
609 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
/linux-6.15/net/netfilter/
H A Dnfnetlink_cttimeout.c194 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info()
404 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
/linux-6.15/net/sctp/
H A Ddiag.c351 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
377 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()

12345