Lines Matching refs:ai
134 void Curl_printable_address(const struct Curl_addrinfo *ai, char *buf, in Curl_printable_address() argument
140 switch(ai->ai_family) { in Curl_printable_address()
142 const struct sockaddr_in *sa4 = (const void *)ai->ai_addr; in Curl_printable_address()
144 (void)Curl_inet_ntop(ai->ai_family, (const void *)ipaddr4, buf, bufsize); in Curl_printable_address()
149 const struct sockaddr_in6 *sa6 = (const void *)ai->ai_addr; in Curl_printable_address()
151 (void)Curl_inet_ntop(ai->ai_family, (const void *)ipaddr6, buf, bufsize); in Curl_printable_address()
1207 struct Curl_addrinfo *ai; in Curl_loadhostpairs() local
1241 ai = Curl_str2addr(address, port); in Curl_loadhostpairs()
1242 if(!ai) { in Curl_loadhostpairs()
1248 tail->ai_next = ai; in Curl_loadhostpairs()
1252 head = tail = ai; in Curl_loadhostpairs()