Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_tx_iptunnel_user.c111 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H 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()
/OK3568_Linux_fs/kernel/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.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()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/
H A Dnetkit-rsh-0.17-rexec-ipv6.patch6 use rexec_af(..., AF_UNSPEC) to support both ipv6 and ipv4.
24 + p_to_aux_sock, AF_UNSPEC)) < 0 )
/OK3568_Linux_fs/kernel/tools/testing/selftests/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()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev_ioctl.c263 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
271 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
H A Ddst.c279 .family = AF_UNSPEC,
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H 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()
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/include/linux/
H A Dsocket.h176 #define AF_UNSPEC 0 macro
230 #define PF_UNSPEC AF_UNSPEC
/OK3568_Linux_fs/kernel/include/linux/
H A Dsocket.h176 #define AF_UNSPEC 0 macro
230 #define PF_UNSPEC AF_UNSPEC
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c33 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dinet_diag.c705 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
856 case AF_UNSPEC: in valid_hostcond()
1044 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1107 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1275 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
H A Dnexthop.c238 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()
1497 case AF_UNSPEC: in rtm_to_nh_config()
1538 if (nhm->nh_family != AF_UNSPEC) { in rtm_to_nh_config()
/OK3568_Linux_fs/kernel/include/net/
H A Drtnetlink.h28 return AF_UNSPEC; in rtnl_msg_family()
/OK3568_Linux_fs/kernel/net/xfrm/
H 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnfnetlink_cttimeout.c169 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info()
385 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
/OK3568_Linux_fs/kernel/net/mptcp/
H A Dmptcp_diag.c91 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dfs_context.c1257 if (ctx->protofamily != AF_UNSPEC && in nfs_fs_context_validate()
1261 if (ctx->mountfamily != AF_UNSPEC) { in nfs_fs_context_validate()
1444 ctx->protofamily = AF_UNSPEC; in nfs_init_fs_context()
1445 ctx->mountfamily = AF_UNSPEC; in nfs_init_fs_context()
/OK3568_Linux_fs/kernel/net/sctp/
H A Ddiag.c359 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
385 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Difutils.c108 ifm->ifi_family = AF_UNSPEC; in if_act_on_link()
190 ifm->ifi_family = AF_UNSPEC; in if_set_mtu()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsocket.h92 #define AF_UNSPEC PF_UNSPEC macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsocket.h92 #define AF_UNSPEC PF_UNSPEC macro
/OK3568_Linux_fs/kernel/tools/usb/usbip/src/
H A Dusbip_network.c268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()

12345