Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_private.h7 union res_sockaddr_union nsaddrs[MAXNS];
Dres_cache.c1235 char* nameservers[MAXNS +1];
1236 struct addrinfo* nsaddrinfo[MAXNS + 1];
1960 for (i = 0; i < numservers && i < MAXNS; i++) { in _resolv_set_nameservers_for_net()
2010 if (numservers > MAXNS) numservers = MAXNS; in _resolv_is_nameservers_equal_locked()
2045 for (i = 0; i <= MAXNS; i++) { in _free_nameservers_locked()
2070 for (nserv = 0; nserv < MAXNS; nserv++) { in _resolv_populate_res_for_net()
Dres_init.c352 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in __res_vinit()
683 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers()
/bionic/libc/dns/include/
Dresolv_private.h139 #define MAXNS 3 /* max # name servers we'll track */ macro
165 nsaddr_list[MAXNS]; /* address of name server */
197 uint16_t nstimes[MAXNS]; /* ms. */
198 int nssocks[MAXNS];