Searched refs:dns_addr (Results 1 – 13 of 13) sorted by relevance
159 struct in_addr dns_addr; in bootp_reply() local278 dns_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_DNS); in bootp_reply()279 memcpy(q, &dns_addr, 4); in bootp_reply()
40 extern struct in_addr dns_addr;
32 struct in_addr dns_addr; variable198 if (get_dns_addr(&dns_addr) < 0) { in slirp_init()199 dns_addr = loopback_addr; in slirp_init()
141 addr.sin_addr = dns_addr; in icmp_input()
562 addr.sin_addr = dns_addr; in sosendto()
391 addr.sin_addr = dns_addr; in tcp_fconnect()
164 uint32_t dns_addr; in bootp_reply() local282 dns_addr = htonl(special_addr_ip | CTL_DNS); in bootp_reply()283 memcpy(q, &dns_addr, 4); in bootp_reply()
43 extern uint32_t dns_addr[DNS_ADDR_MAX];
45 int slirp_add_dns_server(const SockAddress* dns_addr);
41 uint32_t dns_addr[DNS_ADDR_MAX]; variable87 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()
145 addr_ip = dns_addr[low - CTL_DNS]; in icmp_input()
565 addr_ip = dns_addr[low - CTL_DNS]; in sosendto()
409 sock_ip = dns_addr[last_byte - CTL_DNS]; in tcp_fconnect()