Home
last modified time | relevance | path

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

/system/netd/server/
DResolverController.cpp86 int nscount = -1; in getDnsInfo() local
95 int revision_id = android_net_res_stats_get_info_for_net(netId, &nscount, res_servers, &dcount, in getDnsInfo()
105 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
106 ALOGE("%s: nscount=%d, dcount=%d", __FUNCTION__, nscount, dcount); in getDnsInfo()
113 android_net_res_stats_get_usable_servers(params, res_stats, nscount, valid_servers); in getDnsInfo()
116 stats->resize(nscount); in getDnsInfo()
117 for (int i = 0 ; i < nscount ; ++i) { in getDnsInfo()
/system/netd/tests/dns_responder/
Ddns_responder.cpp387 uint16_t nscount; member
393 unsigned* nscount, unsigned* arcount);
399 unsigned nscount; in read() local
402 &nscount, &arcount); in read()
427 if (nscount) { in read()
428 authorities.resize(nscount); in read()
429 for (unsigned i = 0 ; i < nscount ; ++i) { in read()
465 header.nscount = htons(authorities.size()); in write()
494 unsigned* nscount, unsigned* arcount) { in readHeader() argument
512 *nscount = ntohs(header.nscount); in readHeader()