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.cpp286 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument
289 if (usable_servers[ns]) ++usableIndex; in res_set_usable_server()
290 if (usableIndex != selectedServer) usable_servers[ns] = false; in res_set_usable_server()
493 bool usable_servers[MAXNS]; in res_nsend() local
495 &params, stats, statp->nameserverCount(), usable_servers); in res_nsend()
501 usable_servers[i] = true; in res_nsend()
511 res_set_usable_server(selectedServer, statp->nameserverCount(), usable_servers); in res_nsend()
523 if (!usable_servers[ns]) continue; in res_nsend()