Lines Matching refs:servers
95 int getDnsInfo(unsigned netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getDnsInfo() argument
116 servers->clear(); in getDnsInfo()
156 servers->push_back(std::move(server_str)); in getDnsInfo()
234 return resolv_set_nameservers(resolverParams.netId, resolverParams.servers, in setResolverConfiguration()
239 int ResolverController::getResolverInfo(int32_t netId, std::vector<std::string>* servers, in getResolverInfo() argument
248 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats, in getResolverInfo()
295 std::vector<std::string> servers; in dump() local
301 int rv = getDnsInfo(netId, &servers, &domains, ¶ms, &stats, in dump()
307 if (servers.empty()) { in dump()
316 for (size_t i = 0; i < servers.size(); ++i) { in dump()
322 dw.println("%s (%d, %d, %d, %d, %d, %dms, %ds)%s", servers[i].c_str(), in dump()
326 dw.println("%s <no data>", servers[i].c_str()); in dump()
329 dw.println("%s <no stats>", servers[i].c_str()); in dump()