Home | History | Annotate | Download | only in lib

Lines Matching defs:dns

154   /* DNS resolve only for SOCKS4, not SOCKS4a */
156 struct Curl_dns_entry *dns;
160 rc = Curl_resolv(conn, hostname, remote_port, &dns);
166 /* ignores the return code, but 'dns' remains NULL on failure */
167 (void)Curl_resolver_wait_resolv(conn, &dns);
173 if(dns)
174 hp=dns->addr;
196 Curl_resolv_unlock(data, dns); /* not used anymore from now on */
589 struct Curl_dns_entry *dns;
591 int rc = Curl_resolv(conn, hostname, remote_port, &dns);
598 code = Curl_resolver_wait_resolv(conn, &dns);
607 if(dns)
608 hp=dns->addr;
645 Curl_resolv_unlock(data, dns); /* not used anymore from now on */