Searched refs:dns_addr_count (Results 1 – 4 of 4) sorted by relevance
48 int dns_addr_count; variable86 if (dns_addr_count >= DNS_ADDR_MAX) in slirp_add_dns_server()93 dns_addr[dns_addr_count++] = dns_ip; in slirp_add_dns_server()107 if (dns_addr_count > 0) in slirp_get_system_dns_servers()108 return dns_addr_count; in slirp_get_system_dns_servers()132 while (pIPAddr && dns_addr_count < DNS_ADDR_MAX) { in slirp_get_system_dns_servers()138 if (dns_addr_count < DNS_ADDR_MAX) in slirp_get_system_dns_servers()139 dns_addr[dns_addr_count++] = ip; in slirp_get_system_dns_servers()148 if (dns_addr_count <= 0) in slirp_get_system_dns_servers()151 return dns_addr_count; in slirp_get_system_dns_servers()[all …]
7 #define CTL_IS_DNS(x) ((unsigned)((x)-CTL_DNS) < (unsigned)dns_addr_count)
44 extern int dns_addr_count;
144 if (low >= CTL_DNS && low < CTL_DNS + dns_addr_count) in icmp_input()