Home
last modified time | relevance | path

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

12345

/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/phosphor-networkd/test/
H A Dtest_util.cpp28 EXPECT_THROW(addrFromBuf(AF_UNSPEC, buf1), std::invalid_argument); in TEST()
36 EXPECT_THROW(addrFromBuf(AF_UNSPEC, buf2), std::invalid_argument); in TEST()
/openbmc/linux/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()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dutils.cpp54 hints.ai_family = AF_UNSPEC; in isValidLDAPURI()
/openbmc/linux/net/mptcp/
H A Dmptcp_diag.c114 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump_listeners()
175 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dtools_net_unittest.cpp68 Field(&addrinfo::ai_family, AF_UNSPEC), in expectAddrInfo()
121 Field(&addrinfo::ai_family, AF_UNSPEC), in TEST_F()
/openbmc/linux/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()
/openbmc/bmcweb/include/
H A Dasync_resolve.hpp120 AF_UNSPEC, flag); in async_resolve()
/openbmc/phosphor-snmp/
H A Dsnmp_util.cpp51 hints.ai_family = AF_UNSPEC; in resolveAddress()
/openbmc/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h189 #define AF_UNSPEC 0 macro
246 #define PF_UNSPEC AF_UNSPEC
/openbmc/linux/include/linux/
H A Dsocket.h189 #define AF_UNSPEC 0 macro
246 #define PF_UNSPEC AF_UNSPEC
/openbmc/phosphor-ipmi-flash/tools/
H A Dnet.cpp74 hints.ai_family = AF_UNSPEC; in sendContents()
/openbmc/phosphor-networkd/src/
H A Dsystem_queries.cpp122 msg.ifi_family = AF_UNSPEC; in deleteIntf()
/openbmc/ipmitool/src/plugins/
H A Dipmi_intf.c359 hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ in ipmi_intf_socket_connect()
472 if (hints.ai_family != AF_UNSPEC) { in ipmi_intf_socket_connect()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c30 struct sockaddr unspec = { AF_UNSPEC }; in disconnect()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/net/sched/
H A Dsch_frag.c80 .family = AF_UNSPEC,
/openbmc/bmcweb/http/
H A Dapp.hpp108 if (sd_is_socket_inet(SD_LISTEN_FDS_START, AF_UNSPEC, SOCK_STREAM, in setupSocket()
/openbmc/linux/include/net/
H A Drtnetlink.h60 return AF_UNSPEC; in rtnl_msg_family()
/openbmc/linux/net/ipv4/
H A Dinet_diag.c708 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
861 case AF_UNSPEC: in valid_hostcond()
1050 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1113 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1281 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()

12345