Lines Matching refs:ares_channel
133 int status = ares_init((ares_channel*)resolver); in Curl_resolver_init()
154 ares_destroy((ares_channel)resolver); in Curl_resolver_cleanup()
167 if(ARES_SUCCESS != ares_dup((ares_channel*)to, (ares_channel)from)) in Curl_resolver_duphandle()
180 ares_cancel((ares_channel)conn->data->state.resolver); in Curl_resolver_cancel()
224 int max = ares_getsock((ares_channel)conn->data->state.resolver, in Curl_resolver_getsock()
230 timeout = ares_timeout((ares_channel)conn->data->state.resolver, &maxtime, in Curl_resolver_getsock()
260 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform()
288 ares_process_fd((ares_channel)data->state.resolver, ARES_SOCKET_BAD, in waitperform()
293 ares_process_fd((ares_channel)data->state.resolver, in waitperform()
377 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv); in Curl_resolver_wait_resolv()
406 ares_cancel((ares_channel)data->state.resolver); in Curl_resolver_wait_resolv()
558 ares_gethostbyname((ares_channel)data->state.resolver, hostname, in Curl_resolver_getaddrinfo()
560 ares_gethostbyname((ares_channel)data->state.resolver, hostname, in Curl_resolver_getaddrinfo()
567 ares_gethostbyname((ares_channel)data->state.resolver, hostname, in Curl_resolver_getaddrinfo()
577 ares_gethostbyname((ares_channel)data->state.resolver, hostname, family, in Curl_resolver_getaddrinfo()
631 ares_set_local_dev((ares_channel)data->state.resolver, interf); in Curl_set_dns_interface()
656 ares_set_local_ip4((ares_channel)data->state.resolver, ntohl(a4.s_addr)); in Curl_set_dns_local_ip4()
682 ares_set_local_ip6((ares_channel)data->state.resolver, a6); in Curl_set_dns_local_ip6()