Searched refs:nscount (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/dns/include/ |
D | resolv_stats.h | 72 android_net_res_stats_get_info_for_net(unsigned netid, int* nscount, 80 struct __res_stats stats[], int nscount, bool valid_servers[])
|
D | resolv_private.h | 164 int nscount; /* number of name servers */ member 197 uint16_t nscount; member
|
/bionic/libc/dns/resolv/ |
D | res_stats.c | 168 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()
|
D | res_init.c | 228 statp->nscount = 0; in __res_vinit() 235 statp->_u._ext.nscount = 0; in __res_vinit() 282 statp->nscount = nserv; in __res_vinit() 434 statp->nscount = nserv; in __res_vinit() 485 statp->nscount = nserv; in __res_vinit() 636 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { in res_nclose() 680 statp->_u._ext.nscount = 0; in res_setservers() 718 statp->nscount = nserv; in res_setservers() 729 for (i = 0; i < statp->nscount && i < cnt; i++) { in res_getservers() 766 return (statp->nscount); in res_getservers()
|
D | res_send.c | 241 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p() 254 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p() 390 if (statp->nscount == 0) { in res_nsend() 403 if (EXT(statp).nscount != 0) { in res_nsend() 408 if (EXT(statp).nscount != statp->nscount) { in res_nsend() 411 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend() 436 EXT(statp).nscount = 0; in res_nsend() 443 if (EXT(statp).nscount == 0) { in res_nsend() 444 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend() 452 EXT(statp).nscount = statp->nscount; in res_nsend() [all …]
|
D | res_cache.c | 1015 int n, nscount; in answer_getNegativeTTL() local 1019 nscount = ns_msg_count(handle, ns_s_ns); in answer_getNegativeTTL() 1020 for (n = 0; n < nscount; n++) { in answer_getNegativeTTL() 1236 int nscount; member 2011 cache_info->nscount = numservers; in _resolv_set_nameservers_for_net() 2067 if (cache_info->nscount != numservers) { in _resolv_is_nameservers_equal_locked() 2095 for (i = 0; i < cache_info->nscount; i++) { in _free_nameservers_locked() 2105 cache_info->nscount = 0; in _free_nameservers_locked() 2148 statp->nscount = nserv; in _resolv_populate_res_for_net() 2190 android_net_res_stats_get_info_for_net(unsigned netid, int* nscount, in android_net_res_stats_get_info_for_net() argument [all …]
|
D | res_debug.c | 281 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()
|
D | res_query.c | 190 ntohs(hp->nscount), in res_nquery()
|
/bionic/libc/include/arpa/ |
D | nameser_compat.h | 87 unsigned nscount :16; /* number of authority entries */ member
|