/system/netd/resolv/ |
D | libnetd_resolv_test.cpp | 161 .ai_family = AF_UNSPEC, in TEST_F() 190 .ai_family = family, // unsupported family in TEST_F() 235 .ai_family = family, in TEST_F() 258 int ai_family; in TEST_F() member 264 return StringPrintf("0x%x/%d/%d/%s", ai_flags, ai_family, ai_socktype, in TEST_F() 318 .ai_family = config.ai_family, in TEST_F() 346 const addrinfo hints = {.ai_family = AF_INET6}; in TEST_F() 372 int ai_family; in TEST_F() member 380 SCOPED_TRACE(StringPrintf("family: %d", config.ai_family)); in TEST_F() 384 const struct addrinfo hints = {.ai_family = config.ai_family}; in TEST_F() [all …]
|
D | getaddrinfo.cpp | 287 .ai_family = PF_UNSPEC, in android_getaddrinfofornetcontext() 312 if (!(hints->ai_family == PF_UNSPEC || hints->ai_family == PF_INET || in android_getaddrinfofornetcontext() 313 hints->ai_family == PF_INET6)) { in android_getaddrinfofornetcontext() 326 if (ai.ai_family != ex.e_af) continue; in android_getaddrinfofornetcontext() 343 if (MATCH_FAMILY(ai.ai_family, PF_INET, 1) || MATCH_FAMILY(ai.ai_family, PF_INET6, 1)) { in android_getaddrinfofornetcontext() 345 if (tmp.ai_family == PF_UNSPEC) { in android_getaddrinfofornetcontext() 346 tmp.ai_family = PF_INET6; in android_getaddrinfofornetcontext() 357 if (!MATCH_FAMILY(ai.ai_family, ex.e_af, WILD_AF(ex))) continue; in android_getaddrinfofornetcontext() 362 if (tmp.ai_family == PF_UNSPEC) tmp.ai_family = ex.e_af; in android_getaddrinfofornetcontext() 366 LOG(DEBUG) << __func__ << ": explore_numeric: ai_family=" << tmp.ai_family in android_getaddrinfofornetcontext() [all …]
|
D | Dns64Configuration.cpp | 147 .ai_family = AF_INET6, in doRfc7050PrefixDiscovery() 172 if (result->ai_family != AF_INET6) { in doRfc7050PrefixDiscovery() 174 result->ai_family); in doRfc7050PrefixDiscovery()
|
D | DnsProxyListener.cpp | 331 if (ai->ai_family != AF_INET) return false; in onlyIPv4Answers() 368 if (ai->ai_family != AF_INET) return false; in onlyNonSpecialUseIPv4Addresses() 398 if ((ai->ai_family != AF_INET) && (ai->ai_family != AF_INET6)) continue; in logDnsQueryResult() 403 LOG(DEBUG) << __func__ << ": [" << i << "] " << ai->ai_flags << " " << ai->ai_family in logDnsQueryResult() 477 ai->ai_family = AF_INET6; in synthesizeNat64PrefixWithARecord() 573 sendBE32(c, ai->ai_family) && in sendaddrinfo() 596 const bool ipv6WantedButNoData = (mHints && mHints->ai_family == AF_INET6 && *rv == EAI_NODATA); in doDns64Synthesis() 598 ((!mHints || mHints->ai_family == AF_UNSPEC) && *rv == 0 && onlyIPv4Answers(*res)); in doDns64Synthesis() 613 mHints->ai_family = AF_INET; in doDns64Synthesis() 737 int ai_family = strtol(argv[4], nullptr, 10); in runCommand() local [all …]
|
D | resolver_test.cpp | 628 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() 685 addrinfo hints = {.ai_family = AF_INET}; in TEST_F() 759 addrinfo hints = {.ai_family = AF_INET}; in TEST_F() 765 hints = {.ai_family = AF_INET6}; in TEST_F() 779 addrinfo hints = {.ai_family = AF_INET}; in TEST_F() 784 hints = {.ai_family = AF_INET6}; in TEST_F() 797 addrinfo hints = {.ai_family = AF_INET}; in TEST_F() 802 hints = {.ai_family = AF_INET6}; in TEST_F() 834 addrinfo hints = {.ai_family = AF_INET6}; in TEST_F() 869 const addrinfo hints = {.ai_family = AF_INET6}; in TEST_F() [all …]
|
D | PrivateDnsConfiguration.cpp | 42 addrinfo hints = {.ai_family = AF_UNSPEC, .ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; in parseServer()
|
D | dnsresolver_binder_test.cpp | 210 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F()
|
D | res_cache.cpp | 1740 .ai_family = AF_UNSPEC, .ai_socktype = SOCK_DGRAM, .ai_flags = AI_NUMERICHOST}; in resolv_set_nameservers_for_net()
|
/system/core/libcutils/ |
D | socket_network_client_unix.cpp | 50 hints.ai_family = AF_UNSPEC; in socket_network_client_timeout() 65 int s = socket(addr->ai_family, type, addr->ai_protocol); in socket_network_client_timeout()
|
D | socket_network_client_windows.cpp | 54 SOCKET sock = socket(address->ai_family, address->ai_socktype, in socket_network_client()
|
/system/netd/server/ |
D | NetdConstants.cpp | 116 switch (res[0].ai_family) { in parsePrefix() 146 *family = res[0].ai_family; in parsePrefix()
|
D | SockDiag.cpp | 152 if (res->ai_family == AF_INET && family == AF_INET) { in sendDumpRequest() 156 } else if (res->ai_family == AF_INET && family == AF_INET6) { in sendDumpRequest() 161 } else if (res->ai_family == AF_INET6 && family == AF_INET6) { in sendDumpRequest()
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 193 .ai_family = AF_UNSPEC, in startServer() 208 android::base::unique_fd s(socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol)); in startServer() 232 .ai_family = AF_UNSPEC, in startServer() 244 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
|
D | dns_responder.cpp | 593 .ai_family = AF_UNSPEC, in startServer() 607 socket_.reset(socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in startServer()
|
/system/extras/multinetwork/ |
D | dnschk.cpp | 39 .ai_family = args.family, in main()
|
D | httpurl.cpp | 99 .ai_family = args.family, in parseUrl()
|
/system/hardware/interfaces/net/netd/testutils/ |
D | VtsHalNetNetdTestUtils.cpp | 103 int sock = socket(ai->ai_family, SOCK_DGRAM, 0); in checkReachability()
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 71 switch (res[0].ai_family) { in forString()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 108 hints.ai_family = AF_UNSPEC; in string_to_ip()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 904 hints.ai_family = AF_UNSPEC; in network_connect() 936 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()
|
/system/netd/tests/ |
D | binder_test.cpp | 790 .ai_family = AF_UNSPEC, in interfaceHasAddress()
|