Home
last modified time | relevance | path

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

1234567

/external/libnl/lib/
Daddr.c247 int err, copy = 0, len = 0, family = AF_UNSPEC; in nl_addr_parse()
272 case AF_UNSPEC: in nl_addr_parse()
298 if (hint == AF_INET || hint == AF_UNSPEC) { in nl_addr_parse()
310 if (hint == AF_INET6 || hint == AF_UNSPEC) { in nl_addr_parse()
322 if ((hint == AF_LLC || hint == AF_UNSPEC) && strchr(str, ':')) { in nl_addr_parse()
344 if ((hint == AF_DECnet || hint == AF_UNSPEC) && in nl_addr_parse()
357 if (hint == AF_UNSPEC && strchr(str, ':')) { in nl_addr_parse()
375 family = AF_UNSPEC; in nl_addr_parse()
611 return AF_UNSPEC; in nl_addr_guess_family()
885 __ADD(AF_UNSPEC,unspec)
[all …]
/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()
Droute.c38 if ((err = rtnl_route_alloc_cache(sk, AF_UNSPEC, flags, &cache)) < 0) in nl_cli_route_alloc_cache()
51 if ((family = nl_str2af(arg)) != AF_UNSPEC) in nl_cli_route_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/nfacct/
Dnfacct.c213 AF_UNSPEC, in nfacct_cmd_list()
270 AF_UNSPEC, in _nfacct_cmd_add()
353 AF_UNSPEC, in nfacct_cmd_delete()
433 AF_UNSPEC, in nfacct_cmd_get()
509 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()
737 if (family == AF_UNSPEC) in parse_one_nh()
742 if (r->rtm_family == AF_UNSPEC) in parse_one_nh()
860 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
870 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
879 if (family == AF_UNSPEC) in iproute_modify()
884 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
894 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
1155 if (req.r.rtm_family == AF_UNSPEC) in iproute_modify()
1189 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.c360 return nflog_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nflog_send_config_mode()
376 …end_config_msg(handle, (NFNL_SUBSYS_QUEUE << 8) | NFQNL_MSG_VERDICT, 0, AF_UNSPEC, group_id, &nfa); in nfqueue_send_verdict()
398 return nfqueue_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nfqueue_send_config_cmd()
414 return nfqueue_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nfqueue_send_config_mode()
529 if (nflog_send_config_cmd(handle, groups[i], NFULNL_CFG_CMD_BIND, AF_UNSPEC) < 0) { in netfilter_activate()
553 if (nfqueue_send_config_cmd(handle, groups[i], NFQNL_CFG_CMD_BIND, AF_UNSPEC) < 0) { in netfilter_activate()
Dfad-glifc.c119 ifn.lifn_family = AF_UNSPEC; in pcap_findalldevs_interfaces()
148 ifc.lifc_family = AF_UNSPEC; in pcap_findalldevs_interfaces()
/external/strace/xlat/
Daddrfams.h6 #if defined(AF_UNSPEC) || (defined(HAVE_DECL_AF_UNSPEC) && HAVE_DECL_AF_UNSPEC)
7 XLAT(AF_UNSPEC),
Daddrfams.in1 AF_UNSPEC
/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/avahi/avahi-core/
Diface-linux.c61 gen->rtgen_family = AF_UNSPEC; in netlink_list_items()
85 if (ifinfomsg->ifi_family != AF_UNSPEC) in netlink_callback()
166 if (ifinfomsg->ifi_family != AF_UNSPEC) in netlink_callback()
/external/avahi/avahi-common/
Daddress.c134 return AF_UNSPEC; in avahi_proto_to_af()
143 assert(af == AF_UNSPEC); in avahi_af_to_proto()
/external/libnl/lib/route/
Dclass.c65 .tcm_family = AF_UNSPEC, in class_request_update()
174 tchdr.tcm_family = AF_UNSPEC; in rtnl_class_build_delete_request()
/external/libnl/src/
Dnl-util-addr.c25 a = nl_cli_addr_parse(argv[1], AF_UNSPEC); in main()
/external/libnl/lib/netfilter/
Dct.c375 NLM_F_DUMP, AF_UNSPEC, 0); in nfnl_ct_dump_request()
568 { AF_UNSPEC, NFNLGRP_CONNTRACK_NEW },
569 { AF_UNSPEC, NFNLGRP_CONNTRACK_UPDATE },
570 { AF_UNSPEC, NFNLGRP_CONNTRACK_DESTROY },

1234567