Home
last modified time | relevance | path

Searched refs:usable_servers (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/
Dres_stats.cpp147 int nscount, bool usable_servers[]) { in android_net_res_stats_get_usable_servers() argument
154 usable_servers[ns] = usable; in android_net_res_stats_get_usable_servers()
160 usable_servers[ns] = true; in android_net_res_stats_get_usable_servers()
Dres_send.cpp289 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument
292 if (usable_servers[ns]) ++usableIndex; in res_set_usable_server()
293 if (usableIndex != selectedServer) usable_servers[ns] = false; in res_set_usable_server()
496 bool usable_servers[MAXNS]; in res_nsend() local
498 &params, stats, statp->nameserverCount(), usable_servers); in res_nsend()
504 usable_servers[i] = true; in res_nsend()
514 res_set_usable_server(selectedServer, statp->nameserverCount(), usable_servers); in res_nsend()
526 if (!usable_servers[ns]) continue; in res_nsend()