Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dslirp.c48 int dns_addr_count; variable
86 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 …]
Dctl.h7 #define CTL_IS_DNS(x) ((unsigned)((x)-CTL_DNS) < (unsigned)dns_addr_count)
Dmain.h44 extern int dns_addr_count;
Dip_icmp.c144 if (low >= CTL_DNS && low < CTL_DNS + dns_addr_count) in icmp_input()