Home
last modified time | relevance | path

Searched refs:mNetContext (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DnsResolver/
DDnsProxyListener.cpp765 mNetContext(netcontext) {} in GetAddrInfoHandler()
878 if (!getDns64Prefix(mNetContext.dns_netid, &prefix)) { in doDns64Synthesis()
889 *rv = resolv_getaddrinfo(host, service, mHints.get(), &mNetContext, res, event); in doDns64Synthesis()
896 if (!synthesizeNat64PrefixWithARecord(prefix, res, unspecWantedButNoIPv6, &mNetContext)) { in doDns64Synthesis()
910 LOG(INFO) << "GetAddrInfoHandler::run: {" << mNetContext.toString() << "}"; in run()
914 maybeFixupNetContext(&mNetContext, mClient->getPid()); in run()
918 initDnsEvent(&event, mNetContext); in run()
919 const bool isUidBlocked = isUidNetworkingBlocked(mNetContext.uid, mNetContext.dns_netid); in run()
926 if (evaluate_domain_name(mNetContext, host)) { in run()
927 rv = resolv_getaddrinfo(host, service, mHints.get(), &mNetContext, &result, &event); in run()
[all …]
DDnsProxyListener.h81 android_net_context mNetContext; variable
107 android_net_context mNetContext; variable
134 android_net_context mNetContext; variable
157 android_net_context mNetContext; variable
/packages/modules/DnsResolver/tests/fuzzer/
Dresolv_gethostbyname_fuzzer.cpp22 sizeof(tmpbuf), &mNetContext, &hp, &event); in TestResolvGethostbyname()
Dresolv_fuzzer_utils.h34 const android_net_context mNetContext = { variable
Dresolv_gethostbyaddr_fuzzer.cpp20 resolv_gethostbyaddr(&v6addr, mAddressLen, af, &hbuf, tmpbuf, sizeof(tmpbuf), &mNetContext, &hp, in TestResolvGethostbyaddr()
Dresolv_getaddrinfo_fuzzer.cpp23 fdp.ConsumeBool() ? &hints : nullptr, &mNetContext, &result, &event); in TestResolvGetaddrinfo()