Home
last modified time | relevance | path

Searched refs:MAXNS (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/dns/include/
Dresolv_stats.h73 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH],
74 struct __res_params* params, struct __res_stats stats[MAXNS])
Dresolv_private.h153 nsaddr_list[MAXNS]; /* address of name server */
185 uint16_t nstimes[MAXNS]; /* ms. */
186 int nssocks[MAXNS];
202 struct __res_stats stats[MAXNS]);
Dresolv_params.h23 #define MAXNS 4 /* max # name servers we'll track */ macro
/bionic/libc/dns/resolv/
Dres_private.h7 union res_sockaddr_union nsaddrs[MAXNS];
Dres_cache.c1289 char* nameservers[MAXNS];
1290 struct addrinfo* nsaddrinfo[MAXNS];
1293 struct __res_stats nsstats[MAXNS];
2004 struct addrinfo* nsaddrinfo[MAXNS]; in _resolv_set_nameservers_for_net()
2006 if (numservers > MAXNS) { in _resolv_set_nameservers_for_net()
2007 XLOG("%s: numservers=%u, MAXNS=%u", __FUNCTION__, numservers, MAXNS); in _resolv_set_nameservers_for_net()
2176 for (nserv = 0; nserv < MAXNS; nserv++) { in _resolv_populate_res_for_net()
2234 for (int i = 0 ; i < MAXNS ; ++i) { in _res_cache_clear_stats_locked()
2242 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net() argument
2243 struct __res_params* params, struct __res_stats stats[MAXNS]) { in android_net_res_stats_get_info_for_net() argument
[all …]
Dres_init.c353 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in __res_vinit()
684 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers()
Dres_send.c481 struct __res_stats stats[MAXNS]; in res_nsend()
484 bool usable_servers[MAXNS]; in res_nsend()