Searched refs:MAXNS (Results 1 – 4 of 4) sorted by relevance
7 union res_sockaddr_union nsaddrs[MAXNS];
1198 char* nameservers[MAXNS +1];1199 struct addrinfo* nsaddrinfo[MAXNS + 1];2017 for (i = 0; i < numservers && i < MAXNS; i++) { in _resolv_set_nameservers_for_iface()2034 for (i = 0; i <= MAXNS; i++) { in _free_nameservers_locked()2067 if (n < 1 || n > MAXNS || !addr) in _get_nameserver_locked()2109 if (n < 1 || n > MAXNS) in _get_nameserver_addr_locked()
325 for(n = 1; n <= MAX_DNS_PROPERTIES && nserv < MAXNS; n++) { in __res_vinit()455 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in __res_vinit()822 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers()
126 #define MAXNS 3 /* max # name servers we'll track */ macro151 nsaddr_list[MAXNS]; /* address of name server */182 uint16_t nstimes[MAXNS]; /* ms. */183 int nssocks[MAXNS];