Home
last modified time | relevance | path

Searched refs:dns_addr (Results 1 – 13 of 13) sorted by relevance

/external/qemu/slirp/
Dbootp.c159 struct in_addr dns_addr; in bootp_reply() local
278 dns_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_DNS); in bootp_reply()
279 memcpy(q, &dns_addr, 4); in bootp_reply()
Dmain.h40 extern struct in_addr dns_addr;
Dslirp.c32 struct in_addr dns_addr; variable
198 if (get_dns_addr(&dns_addr) < 0) { in slirp_init()
199 dns_addr = loopback_addr; in slirp_init()
Dip_icmp.c141 addr.sin_addr = dns_addr; in icmp_input()
Dsocket.c562 addr.sin_addr = dns_addr; in sosendto()
Dtcp_subr.c391 addr.sin_addr = dns_addr; in tcp_fconnect()
/external/qemu/slirp-android/
Dbootp.c164 uint32_t dns_addr; in bootp_reply() local
282 dns_addr = htonl(special_addr_ip | CTL_DNS); in bootp_reply()
283 memcpy(q, &dns_addr, 4); in bootp_reply()
Dmain.h43 extern uint32_t dns_addr[DNS_ADDR_MAX];
Dlibslirp.h45 int slirp_add_dns_server(const SockAddress* dns_addr);
Dslirp.c41 uint32_t dns_addr[DNS_ADDR_MAX]; variable
87 dns_addr[dns_addr_count++] = dns_ip; in slirp_add_dns_server()
133 dns_addr[dns_addr_count++] = ip; in slirp_get_system_dns_servers()
184 dns_addr[dns_addr_count++] = tmp_ip; in slirp_get_system_dns_servers()
251 dns_addr[0] = loopback_addr_ip; in slirp_init()
Dip_icmp.c145 addr_ip = dns_addr[low - CTL_DNS]; in icmp_input()
Dsocket.c565 addr_ip = dns_addr[low - CTL_DNS]; in sosendto()
Dtcp_subr.c409 sock_ip = dns_addr[last_byte - CTL_DNS]; in tcp_fconnect()