Searched refs:MAXNS (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/dns/include/ |
D | resolv_stats.h | 73 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH], 74 struct __res_params* params, struct __res_stats stats[MAXNS])
|
D | resolv_private.h | 153 nsaddr_list[MAXNS]; /* address of name server */ 185 uint16_t nstimes[MAXNS]; /* ms. */ 186 int nssocks[MAXNS]; 202 struct __res_stats stats[MAXNS]);
|
D | resolv_params.h | 23 #define MAXNS 4 /* max # name servers we'll track */ macro
|
/bionic/libc/dns/resolv/ |
D | res_private.h | 7 union res_sockaddr_union nsaddrs[MAXNS];
|
D | res_cache.c | 1289 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 …]
|
D | res_init.c | 353 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in __res_vinit() 684 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers()
|
D | res_send.c | 481 struct __res_stats stats[MAXNS]; in res_nsend() 484 bool usable_servers[MAXNS]; in res_nsend()
|