Searched refs:MAXNS (Results 1 – 7 of 7) sorted by relevance
40 #ifndef MAXNS41 #define MAXNS 2 macro88 in_addr_t dns4[MAXNS];159 struct in_addr dns4[MAXNS]; /* IPv4 DNS (when client only) */
403 &iph1->mode_cfg->dns4_index, MAXNS);409 &iph1->mode_cfg->wins4_index, MAXNS);1872 char addrlist[IP_MAX * MAXNS + MAXNS];2136 for (i = 0; i < MAXNS; i++)
945 if (icc->dns4_index > MAXNS)946 yyerror("No more than %d DNS", MAXNS);
323 union res_sockaddr_union addresses[MAXNS]; in ConvertResStateToDnsConfig()324 int nscount = res_getservers(const_cast<res_state>(&res), addresses, MAXNS); in ConvertResStateToDnsConfig()326 DCHECK_LE(nscount, MAXNS); in ConvertResStateToDnsConfig()337 COMPILE_ASSERT(arraysize(res.nsaddr_list) >= MAXNS && in ConvertResStateToDnsConfig()338 arraysize(res._u._ext.nsaddrs) >= MAXNS, in ConvertResStateToDnsConfig()340 DCHECK_LE(res.nscount, MAXNS); in ConvertResStateToDnsConfig()362 DCHECK_LE(res.nscount, MAXNS); in ConvertResStateToDnsConfig()
46 for (unsigned i = 0; i < arraysize(kNameserversIPv4) && i < MAXNS; ++i) { in InitializeResState()58 for (unsigned i = 0; i < arraysize(kNameserversIPv6) && i < MAXNS; ++i) { in InitializeResState()96 for (unsigned i = 0; i < arraysize(kNameserversIPv4) && i < MAXNS; ++i) { in InitializeExpectedConfig()103 for (unsigned i = 0; i < arraysize(kNameserversIPv6) && i < MAXNS; ++i) { in InitializeExpectedConfig()
36 struct sockaddr_storage nsaddr_list[MAXNS];
368 for (int i = 0; i < MAXNS && cnt < nfd; i++) { in ExtractResolvFDs()