Searched refs:privateDnsStatus (Results 1 – 3 of 3) sorted by relevance
/system/netd/resolv/ |
D | ResolverController.cpp | 265 ExternalPrivateDnsStatus privateDnsStatus = {PrivateDnsMode::OFF, 0, {}}; in getResolverInfo() local 266 gPrivateDnsConfiguration.getStatus(netId, &privateDnsStatus); in getResolverInfo() 267 for (int i = 0; i < privateDnsStatus.numServers; i++) { in getResolverInfo() 268 std::string tlsServer_str = addrToString(&(privateDnsStatus.serverStatus[i].ss)); in getResolverInfo() 358 ExternalPrivateDnsStatus privateDnsStatus = {PrivateDnsMode::OFF, 0, {}}; in dump() local 359 gPrivateDnsConfiguration.getStatus(netId, &privateDnsStatus); in dump() 361 getPrivateDnsModeString(static_cast<PrivateDnsMode>(privateDnsStatus.mode))); in dump() 362 if (!privateDnsStatus.numServers) { in dump() 365 dw.println("Private DNS configuration (%u entries)", privateDnsStatus.numServers); in dump() 367 for (int i = 0; i < privateDnsStatus.numServers; i++) { in dump() [all …]
|
D | res_send.cpp | 1220 PrivateDnsStatus privateDnsStatus = gPrivateDnsConfiguration.getStatus(netId); in res_tls_send() local 1222 if (privateDnsStatus.mode == PrivateDnsMode::OFF) { in res_tls_send() 1227 if (privateDnsStatus.validatedServers.empty()) { in res_tls_send() 1228 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send() 1247 privateDnsStatus = gPrivateDnsConfiguration.getStatus(netId); in res_tls_send() 1251 if (privateDnsStatus.validatedServers.empty()) { in res_tls_send() 1259 const auto response = sDnsTlsDispatcher.query(privateDnsStatus.validatedServers, mark, query, in res_tls_send() 1264 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send()
|
D | DnsProxyListener.cpp | 122 ExternalPrivateDnsStatus privateDnsStatus = {PrivateDnsMode::OFF, 0, {}}; in queryingViaTls() local 123 gPrivateDnsConfiguration.getStatus(dns_netid, &privateDnsStatus); in queryingViaTls() 124 switch (static_cast<PrivateDnsMode>(privateDnsStatus.mode)) { in queryingViaTls() 126 for (int i = 0; i < privateDnsStatus.numServers; i++) { in queryingViaTls() 127 if (privateDnsStatus.serverStatus[i].validation == Validation::success) { in queryingViaTls()
|