Home
last modified time | relevance | path

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

/system/netd/resolv/
Dres_stats.cpp148 int nscount, bool usable_servers[]) { in android_net_res_stats_get_usable_servers() argument
155 usable_servers[ns] = usable; in android_net_res_stats_get_usable_servers()
161 usable_servers[ns] = true; in android_net_res_stats_get_usable_servers()
Dres_send.cpp250 static void res_set_usable_server(int selectedServer, int nscount, bool usable_servers[]) { in res_set_usable_server() argument
253 if (usable_servers[ns]) ++usableIndex; in res_set_usable_server()
254 if (usableIndex != selectedServer) usable_servers[ns] = false; in res_set_usable_server()
504 bool usable_servers[MAXNS]; in res_nsend() local
506 &params, stats, statp->nscount, usable_servers); in res_nsend()
513 res_set_usable_server(selectedServer, statp->nscount, usable_servers); in res_nsend()
524 if (!usable_servers[ns]) continue; in res_nsend()