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.h152 nsaddr_list[MAXNS]; /* address of name server */
184 uint16_t nstimes[MAXNS]; /* ms. */
185 int nssocks[MAXNS];
201 struct __res_stats stats[MAXNS]);
Dresolv_params.h23 #define MAXNS 4 /* max # name servers we'll track */ macro
/bionic/libc/dns/resolv/
Dres_cache.c1293 char* nameservers[MAXNS];
1294 struct addrinfo* nsaddrinfo[MAXNS];
1297 struct __res_stats nsstats[MAXNS];
2008 struct addrinfo* nsaddrinfo[MAXNS]; in _resolv_set_nameservers_for_net()
2010 if (numservers > MAXNS) { in _resolv_set_nameservers_for_net()
2011 XLOG("%s: numservers=%u, MAXNS=%u", __FUNCTION__, numservers, MAXNS); in _resolv_set_nameservers_for_net()
2180 for (nserv = 0; nserv < MAXNS; nserv++) { in _resolv_populate_res_for_net()
2238 for (int i = 0 ; i < MAXNS ; ++i) { in _res_cache_clear_stats_locked()
2246 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net() argument
2247 struct __res_params* params, struct __res_stats stats[MAXNS]) { in android_net_res_stats_get_info_for_net() argument
[all …]
Dres_private.h7 union res_sockaddr_union nsaddrs[MAXNS];
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()