Lines Matching refs:dns
154 struct Curl_dns_entry *dns; in Curl_SOCKS4() local
158 rc = Curl_resolv(conn, hostname, remote_port, &dns); in Curl_SOCKS4()
165 (void)Curl_resolver_wait_resolv(conn, &dns); in Curl_SOCKS4()
171 if(dns) in Curl_SOCKS4()
172 hp = dns->addr; in Curl_SOCKS4()
194 Curl_resolv_unlock(data, dns); /* not used anymore from now on */ in Curl_SOCKS4()
598 struct Curl_dns_entry *dns; in Curl_SOCKS5() local
600 int rc = Curl_resolv(conn, hostname, remote_port, &dns); in Curl_SOCKS5()
607 code = Curl_resolver_wait_resolv(conn, &dns); in Curl_SOCKS5()
616 if(dns) in Curl_SOCKS5()
617 hp = dns->addr; in Curl_SOCKS5()
655 Curl_resolv_unlock(data, dns); /* not used anymore from now on */ in Curl_SOCKS5()