Searched refs:MAXNS (Results 1 – 4 of 4) sorted by relevance
7 union res_sockaddr_union nsaddrs[MAXNS];
1235 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()
352 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in __res_vinit()683 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers()
139 #define MAXNS 3 /* max # name servers we'll track */ macro165 nsaddr_list[MAXNS]; /* address of name server */197 uint16_t nstimes[MAXNS]; /* ms. */198 int nssocks[MAXNS];