Home | History | Annotate | Download | only in lib

Lines Matching defs:dns

152   /* DNS resolve only for SOCKS4, not SOCKS4a */
154 struct Curl_dns_entry *dns;
158 rc = Curl_resolv(conn, hostname, remote_port, &dns);
164 /* ignores the return code, but 'dns' remains NULL on failure */
165 (void)Curl_resolver_wait_resolv(conn, &dns);
171 if(dns)
172 hp = dns->addr;
194 Curl_resolv_unlock(data, dns); /* not used anymore from now on */
598 struct Curl_dns_entry *dns;
600 int rc = Curl_resolv(conn, hostname, remote_port, &dns);
607 code = Curl_resolver_wait_resolv(conn, &dns);
616 if(dns)
617 hp = dns->addr;
655 Curl_resolv_unlock(data, dns); /* not used anymore from now on */