Searched refs:AF_UNSPEC (Results 1 - 25 of 102) sorted by relevance

12345

/linux-master/samples/bpf/
H A Dxdp_tx_iptunnel_user.c110 return AF_UNSPEC;
168 tnl.family = AF_UNSPEC;
187 if (vip.family == AF_UNSPEC)
205 if (family == AF_UNSPEC)
207 if (tnl.family == AF_UNSPEC) {
/linux-master/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)
637 if (cfg_l3_inner == AF_UNSPEC)
718 if (cfg_encap_proto && cfg_l3_outer == AF_UNSPEC)
720 else if ((!cfg_encap_proto) && cfg_l3_outer != AF_UNSPEC)
722 else if ((!cfg_encap_proto) && cfg_l3_extra != AF_UNSPEC)
725 if (cfg_l3_inner == AF_UNSPEC)
/linux-master/net/netlabel/
H A Dnetlabel_domainhash.c121 return (f1 == f2) || (f1 == AF_UNSPEC) || (f2 == AF_UNSPEC);
131 * entry if found, otherwise NULL is returned. @family may be %AF_UNSPEC
167 * returned. @family may be %AF_UNSPEC which matches any address family
180 if (family == AF_INET || family == AF_UNSPEC) {
185 if (family == AF_INET6 || family == AF_UNSPEC) {
287 (entry->family != AF_UNSPEC ||
399 * %AF_UNSPEC which will add an entry that matches all address families. This
450 case AF_UNSPEC:
789 * lower level protocol handler (i.e. CIPSO). @family may be %AF_UNSPEC whic
[all...]
H A Dnetlabel_mgmt.c114 entry->family = AF_UNSPEC;
464 return netlbl_domhsh_remove(domain, AF_UNSPEC, &audit_info);
582 return netlbl_domhsh_remove_default(AF_UNSPEC, &audit_info);
/linux-master/security/landlock/
H A Dnet.c91 case AF_UNSPEC:
110 /* Specific AF_UNSPEC handling. */
111 if (address->sa_family == AF_UNSPEC) {
113 * Connecting to an address with AF_UNSPEC dissolves the TCP
127 * For compatibility reason, accept AF_UNSPEC for bind
138 /* addrlen has already been checked for AF_UNSPEC. */
152 * only (from AF_INET or AF_INET6) to AF_UNSPEC.
/linux-master/tools/testing/selftests/netfilter/
H A Dnf-queue.c135 nfg->nfgen_family = AF_UNSPEC;
158 nfg->nfgen_family = AF_UNSPEC;
181 nfg->nfgen_family = AF_UNSPEC;
H A Dconntrack_dump_flush.c229 nfh->nfgen_family = AF_UNSPEC;
276 nfh->nfgen_family = AF_UNSPEC;
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c116 pi.ifi_family = AF_UNSPEC;
151 req.info.ifi_family = AF_UNSPEC;
321 req.info.ifi_family = AF_UNSPEC;
365 req.info.ifi_family = AF_UNSPEC;
/linux-master/net/mptcp/
H A Dmptcp_diag.c113 if (r->sdiag_family != AF_UNSPEC &&
174 if (r->sdiag_family != AF_UNSPEC &&
H A Dpm_userspace.c551 struct mptcp_pm_addr_entry loc = { .addr = { .family = AF_UNSPEC }, };
552 struct mptcp_pm_addr_entry rem = { .addr = { .family = AF_UNSPEC }, };
588 if (loc.addr.family == AF_UNSPEC ||
589 rem.addr.family == AF_UNSPEC) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c30 struct sockaddr unspec = { AF_UNSPEC };
/linux-master/net/netfilter/ipvs/
H A Dip_vs_pe_sip.c117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af,
/linux-master/include/net/
H A Drtnetlink.h43 return AF_UNSPEC;
/linux-master/include/linux/
H A Dsocket.h189 #define AF_UNSPEC 0 macro
246 #define PF_UNSPEC AF_UNSPEC
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h189 #define AF_UNSPEC 0 macro
246 #define PF_UNSPEC AF_UNSPEC
/linux-master/tools/testing/selftests/landlock/
H A Dnet_test.c81 case AF_UNSPEC:
151 case AF_UNSPEC:
174 case AF_UNSPEC:
197 case AF_UNSPEC:
220 case AF_UNSPEC:
256 case AF_UNSPEC:
299 .domain = AF_UNSPEC,
693 /* Allowed bind on AF_UNSPEC/INADDR_ANY. */
719 /* Denied bind on AF_UNSPEC/INADDR_ANY. */
732 /* Checks bind with AF_UNSPEC an
[all...]
/linux-master/tools/lib/bpf/
H A Dnetlink.c297 req.ifinfo.ifi_family = AF_UNSPEC;
596 req.tc.tcm_family = AF_UNSPEC;
756 req.tc.tcm_family = AF_UNSPEC;
832 req.tc.tcm_family = AF_UNSPEC;
899 req.tc.tcm_family = AF_UNSPEC;
/linux-master/tools/testing/selftests/net/
H A Dtap.c106 req.info.ifi_family = AF_UNSPEC;
163 req.info.ifi_family = AF_UNSPEC;
H A Dtun.c88 req.ifm.ifi_family = AF_UNSPEC;
/linux-master/tools/usb/usbip/src/
H A Dusbip_network.c268 hints.ai_family = AF_UNSPEC;
/linux-master/net/sched/
H A Dsch_frag.c80 .family = AF_UNSPEC,
/linux-master/net/ipv4/
H A Dinet_diag.c718 if (cond->family != AF_UNSPEC &&
871 case AF_UNSPEC:
1064 if (r->sdiag_family != AF_UNSPEC &&
1135 if (r->sdiag_family != AF_UNSPEC &&
1215 if (r->sdiag_family != AF_UNSPEC &&
1383 req.sdiag_family = AF_UNSPEC; /* compatibility */
/linux-master/net/netfilter/
H A Dnfnetlink_cttimeout.c194 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC,
405 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC,
/linux-master/net/core/
H A Ddev_ioctl.c558 ifr->ifr_hwaddr.sa_family != AF_UNSPEC)
566 ifr->ifr_hwaddr.sa_family != AF_UNSPEC)
/linux-master/net/sctp/
H A Ddiag.c351 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family)
377 if (r->sdiag_family != AF_UNSPEC &&

Completed in 263 milliseconds

12345