Lines Matching refs:ai
528 struct Curl_addrinfo *ai) in compound_results() argument
530 if(!ai) in compound_results()
542 temp_ai_tail->ai_next = ai; in compound_results()
548 struct Curl_addrinfo *ai_tail = ai; in compound_results()
553 res->temp_ai = ai; in compound_results()
586 struct Curl_addrinfo *ai = Curl_he2ai(hostent, data->state.async.port); in query_completed_cb() local
587 if(ai) { in query_completed_cb()
588 compound_results(res, ai); in query_completed_cb()
666 struct ares_addrinfo_node *ai; in ares2addr() local
671 for(ai = node; ai != NULL; ai = ai->ai_next) { in ares2addr()
676 if(ai->ai_family == AF_INET) in ares2addr()
679 else if(ai->ai_family == AF_INET6) in ares2addr()
686 if(!ai->ai_addr || !(ai->ai_addrlen > 0)) in ares2addr()
690 if((size_t)ai->ai_addrlen < ss_size) in ares2addr()
702 ca->ai_flags = ai->ai_flags; in ares2addr()
703 ca->ai_family = ai->ai_family; in ares2addr()
704 ca->ai_socktype = ai->ai_socktype; in ares2addr()
705 ca->ai_protocol = ai->ai_protocol; in ares2addr()
712 memcpy(ca->ai_addr, ai->ai_addr, ss_size); in ares2addr()