Lines Matching refs:dns_addr
41 static struct sockaddr_in dns_addr;
66 memset(&dns_addr, 0, sizeof(dns_addr));
71 if(make_address(proxy_host, &dns_addr.sin_addr) != 0)
73 dns_addr.sin_port = htons(proxy_port);
77 if(make_address(dns_host, &dns_addr.sin_addr) != 0)
79 dns_addr.sin_port = htons(dns_port);
82 dns_addr.sin_family = AF_INET;
147 if(dns_addr.sin_family == 0)
149 addr = dns_addr;