Home
last modified time | relevance | path

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

123456789

/external/libnl/tests/
Dcheck-addr.c26 fail_if(nl_addr_get_family(addr) != AF_UNSPEC, in START_TEST()
84 addr2 = nl_addr_build(AF_UNSPEC, baddr, 4); in START_TEST()
111 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr4) != 0, in START_TEST()
152 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr6) != 0, in START_TEST()
188 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr) != 0, in START_TEST()
Dtest-create-vlan.c18 if ((err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache)) < 0) { in main()
/external/libnl/lib/
Daddr.c293 int err, copy = 0, len = 0, family = AF_UNSPEC; in nl_addr_parse()
320 case AF_UNSPEC: in nl_addr_parse()
343 if (hint == AF_INET || hint == AF_UNSPEC) { in nl_addr_parse()
355 if (hint == AF_INET6 || hint == AF_UNSPEC) { in nl_addr_parse()
367 if ((hint == AF_LLC || hint == AF_UNSPEC) && strchr(str, ':')) { in nl_addr_parse()
389 if ((hint == AF_DECnet || hint == AF_UNSPEC) && in nl_addr_parse()
402 if (hint == AF_UNSPEC && strchr(str, ':')) { in nl_addr_parse()
420 family = AF_UNSPEC; in nl_addr_parse()
683 return AF_UNSPEC; in nl_addr_guess_family()
1006 __ADD(AF_UNSPEC,unspec)
/external/c-ares/
Dares__get_hostent.c51 case AF_UNSPEC: in ares__get_hostent()
139 addr.family = AF_UNSPEC; in ares__get_hostent()
141 if ((family == AF_INET) || (family == AF_UNSPEC)) in ares__get_hostent()
151 if ((family == AF_INET6) || ((family == AF_UNSPEC) && (!addrlen))) in ares__get_hostent()
Dares_gethostbyname.c97 case AF_UNSPEC: in ares_gethostbyname()
146 (hquery->want_family == AF_UNSPEC)) { in next_lookup()
198 hquery->want_family == AF_UNSPEC) { in host_callback()
214 hquery->want_family == AF_UNSPEC)) in host_callback()
/external/libnl/src/lib/
Drule.c38 if ((err = rtnl_rule_alloc_cache(sk, AF_UNSPEC, &cache)) < 0) in nl_cli_rule_alloc_cache()
51 if ((family = nl_str2af(arg)) != AF_UNSPEC) in nl_cli_rule_parse_family()
Dneigh.c50 a = nl_cli_addr_parse(arg, AF_UNSPEC); in nl_cli_neigh_parse_lladdr()
70 if ((family = nl_str2af(arg)) == AF_UNSPEC) in nl_cli_neigh_parse_family()
/external/netperf/src/
Dnetsh.c111 address_family = AF_UNSPEC, /* which address family remote */
112 local_address_family = AF_UNSPEC; /* which address family local */
404 return(AF_UNSPEC); in parse_address_family()
411 return(AF_UNSPEC); in parse_address_family()
1061 case AF_UNSPEC: in scan_cmd_line()
1066 case AF_UNSPEC: in scan_cmd_line()
1118 case AF_UNSPEC: in scan_cmd_line()
1121 case AF_UNSPEC: in scan_cmd_line()
/external/strace/xlat/
Daddrfams.h2 #if !(defined(AF_UNSPEC) || (defined(HAVE_DECL_AF_UNSPEC) && HAVE_DECL_AF_UNSPEC))
3 # define AF_UNSPEC 0 macro
138 XLAT(AF_UNSPEC),
Daddrfams.in1 AF_UNSPEC 0
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py36 AF_UNSPEC = 0 variable
59 PF_UNSPEC = AF_UNSPEC
/external/nfacct/
Dnfacct.c217 AF_UNSPEC, in nfacct_cmd_list()
274 AF_UNSPEC, in _nfacct_cmd_add()
357 AF_UNSPEC, in nfacct_cmd_delete()
437 AF_UNSPEC, in nfacct_cmd_get()
513 AF_UNSPEC, in nfacct_cmd_flush()
/external/iproute2/ip/
Dipaddrlabel.c103 if (af == AF_UNSPEC) in ipaddrlabel_list()
182 if (req.ifal.ifal_family == AF_UNSPEC) in ipaddrlabel_modify()
225 if (af == AF_UNSPEC) in ipaddrlabel_flush()
Drtmon.c77 int family = AF_UNSPEC; in main()
165 if (rtnl_wilddump_request(&rth, AF_UNSPEC, RTM_GETLINK) < 0) { in main()
Diproute.c152 if (preferred_family != AF_UNSPEC && r->rtm_family != preferred_family) in filter_nlmsg()
738 if (family == AF_UNSPEC) in parse_one_nh()
743 if (r->rtm_family == AF_UNSPEC) in parse_one_nh()
861 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
871 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
880 if (family == AF_UNSPEC) in iproute_modify()
885 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
895 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
1156 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
1190 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
[all …]
Dipnetconf.c149 if (filter.family == AF_UNSPEC) in do_show()
191 if (preferred_family == AF_UNSPEC) { in do_show()
Dip.c28 int preferred_family = AF_UNSPEC;
208 if (preferred_family == AF_UNSPEC) in main()
Dxfrm_state.c350 preferred_family = AF_UNSPEC; in xfrm_state_modify()
370 get_addr(&oa, *argv, AF_UNSPEC); in xfrm_state_modify()
385 if (coa.family == AF_UNSPEC) in xfrm_state_modify()
524 if (preferred_family == AF_UNSPEC) in xfrm_state_modify()
687 if (req.xsinfo.family == AF_UNSPEC) in xfrm_state_modify()
772 if (preferred_family == AF_UNSPEC) in xfrm_state_allocspi()
823 if (req.xspi.info.family == AF_UNSPEC) in xfrm_state_allocspi()
1013 if (req.xsid.family == AF_UNSPEC) in xfrm_state_get_or_delete()
1131 if (preferred_family == AF_UNSPEC) in xfrm_state_list_or_deleteall()
/external/netperf/src/missing/
Dgetaddrinfo.h200 #ifndef AF_UNSPEC
201 #define AF_UNSPEC AF_INET macro
/external/libpcap/
Dpcap-netfilter-linux.c363 return nflog_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nflog_send_config_mode()
379 …end_config_msg(handle, (NFNL_SUBSYS_QUEUE << 8) | NFQNL_MSG_VERDICT, 0, AF_UNSPEC, group_id, &nfa); in nfqueue_send_verdict()
401 return nfqueue_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nfqueue_send_config_cmd()
417 return nfqueue_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nfqueue_send_config_mode()
532 if (nflog_send_config_cmd(handle, groups[i], NFULNL_CFG_CMD_BIND, AF_UNSPEC) < 0) { in netfilter_activate()
556 if (nfqueue_send_config_cmd(handle, groups[i], NFQNL_CFG_CMD_BIND, AF_UNSPEC) < 0) { in netfilter_activate()
Dfad-glifc.c120 ifn.lifn_family = AF_UNSPEC; in pcap_findalldevs_interfaces()
149 ifc.lifc_family = AF_UNSPEC; in pcap_findalldevs_interfaces()
/external/webrtc/webrtc/base/
Dipaddress.cc82 return family_ == AF_UNSPEC; in operator ==()
96 if (family_ == AF_UNSPEC) { in operator <()
288 case AF_UNSPEC: in IPIsAny()
319 return ip.family() == AF_UNSPEC; in IPIsUnspec()
/external/libnl/lib/route/link/
Dapi.c194 if (family == AF_UNSPEC || family >= AF_MAX) in rtnl_link_af_ops_lookup()
289 if (ops->ao_family == AF_UNSPEC || ops->ao_family >= AF_MAX) in rtnl_link_af_register()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c54 if (sa->sa_family != AF_UNSPEC && sa->sa_family != AF_INET) in getnameinfo()
166 if (hints && hints->ai_family != AF_UNSPEC && in getaddrinfo()
/external/libnl/src/
Dnl-util-addr.c25 a = nl_cli_addr_parse(argv[1], AF_UNSPEC); in main()

123456789