Home
last modified time | relevance | path

Searched refs:nscount (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/dns/include/
Dresolv_stats.h72 android_net_res_stats_get_info_for_net(unsigned netid, int* nscount,
80 struct __res_stats stats[], int nscount, bool valid_servers[])
Dresolv_private.h161 int nscount; /* number of name servers */ member
194 uint16_t nscount; member
/bionic/libc/dns/resolv/
Dres_stats.c168 struct __res_stats stats[], int nscount, bool usable_servers[]) { in android_net_res_stats_get_usable_servers() argument
170 for (int ns = 0; ns < nscount; ns++) { in android_net_res_stats_get_usable_servers()
180 for (int ns = 0; ns < nscount; ns++) { in android_net_res_stats_get_usable_servers()
Dres_init.c227 statp->nscount = 0; in __res_vinit()
234 statp->_u._ext.nscount = 0; in __res_vinit()
283 statp->nscount = nserv; in __res_vinit()
435 statp->nscount = nserv; in __res_vinit()
486 statp->nscount = nserv; in __res_vinit()
637 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { in res_nclose()
681 statp->_u._ext.nscount = 0; in res_setservers()
719 statp->nscount = nserv; in res_setservers()
730 for (i = 0; i < statp->nscount && i < cnt; i++) { in res_getservers()
767 return (statp->nscount); in res_getservers()
Dres_send.c240 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
253 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
389 if (statp->nscount == 0) { in res_nsend()
402 if (EXT(statp).nscount != 0) { in res_nsend()
407 if (EXT(statp).nscount != statp->nscount) { in res_nsend()
410 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
435 EXT(statp).nscount = 0; in res_nsend()
442 if (EXT(statp).nscount == 0) { in res_nsend()
443 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
451 EXT(statp).nscount = statp->nscount; in res_nsend()
[all …]
Dres_cache.c1013 int n, nscount; in answer_getNegativeTTL() local
1017 nscount = ns_msg_count(handle, ns_s_ns); in answer_getNegativeTTL()
1018 for (n = 0; n < nscount; n++) { in answer_getNegativeTTL()
1234 int nscount; member
2009 cache_info->nscount = numservers; in _resolv_set_nameservers_for_net()
2065 if (cache_info->nscount != numservers) { in _resolv_is_nameservers_equal_locked()
2093 for (i = 0; i < cache_info->nscount; i++) { in _free_nameservers_locked()
2103 cache_info->nscount = 0; in _free_nameservers_locked()
2146 statp->nscount = nserv; in _resolv_populate_res_for_net()
2188 android_net_res_stats_get_info_for_net(unsigned netid, int* nscount, in android_net_res_stats_get_info_for_net() argument
[all …]
Dres_debug.c281 int qdcount, ancount, nscount, arcount; in res_pquery() local
293 nscount = ns_msg_count(handle, ns_s_ns); in res_pquery()
330 p_section(ns_s_ns, (int)opcode), nscount); in res_pquery()
346 nscount == 0 && arcount == 0) in res_pquery()
Dres_query.c190 ntohs(hp->nscount), in res_nquery()
/bionic/libc/include/arpa/
Dnameser_compat.h72 unsigned nscount :16; /* number of authority entries */ member