| /linux-6.15/samples/bpf/ |
| H A D | xdp_tx_iptunnel_user.c | 110 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 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()
|
| H A D | netlabel_mgmt.c | 112 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 D | net.c | 73 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 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()
|
| H A D | conntrack_dump_flush.c | 236 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 D | netlink.c | 116 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 D | mptcp_diag.c | 113 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump_listeners() 174 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
|
| H A D | pm_userspace.c | 558 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 D | netlink.c | 297 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 D | net_test.c | 58 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 D | socket.h | 190 #define AF_UNSPEC 0 macro 247 #define PF_UNSPEC AF_UNSPEC
|
| /linux-6.15/include/linux/ |
| H A D | socket.h | 190 #define AF_UNSPEC 0 macro 247 #define PF_UNSPEC AF_UNSPEC
|
| /linux-6.15/net/ipv4/ |
| H A D | inet_diag.c | 720 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 D | sockmap_ktls.c | 30 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | tun.c | 88 req.ifm.ifi_family = AF_UNSPEC; in tun_delete()
|
| H A D | tap.c | 106 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 D | sch_frag.c | 80 .family = AF_UNSPEC,
|
| /linux-6.15/net/netfilter/ipvs/ |
| H A 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-6.15/include/net/ |
| H A D | rtnetlink.h | 69 return AF_UNSPEC; in rtnl_msg_family()
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | net.c | 236 .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 D | usbip_network.c | 268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
|
| /linux-6.15/net/core/ |
| H A D | dev_ioctl.c | 598 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 D | nfnetlink_cttimeout.c | 194 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 D | diag.c | 351 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()
|