Lines Matching refs:nameserverSockAddrs
1006 int nameserverCount() { return nameserverSockAddrs.size(); } in nameserverCount()
1027 std::vector<IPSockAddr> nameserverSockAddrs; member
1652 netconfig->nameserverSockAddrs = std::move(ipSockAddrs); in resolv_set_nameservers()
1669 if (!netconfig->dnsStats.setServers(netconfig->nameserverSockAddrs, PROTO_TCP) || in resolv_set_nameservers()
1670 !netconfig->dnsStats.setServers(netconfig->nameserverSockAddrs, PROTO_UDP)) { in resolv_set_nameservers()
1705 netconfig->nameserverSockAddrs.clear(); in free_nameservers_locked()
1722 : info->nameserverSockAddrs; in resolv_populate_res_for_net()
1775 servers[i] = info->nameserverSockAddrs[i]; in android_net_res_stats_get_info_for_net()
1834 for (size_t j = 0; j < info->nameserverSockAddrs.size(); j++) { in resolv_cache_get_resolver_stats()
1845 if (info->nameserverSockAddrs[j] == serverSockAddrs[i]) { in resolv_cache_get_resolver_stats()
1865 const int serverNum = std::min(MAXNS, static_cast<int>(info->nameserverSockAddrs.size())); in resolv_cache_add_resolver_stats_sample()
1867 if (serverSockAddr == info->nameserverSockAddrs[ns]) { in resolv_cache_add_resolver_stats_sample()