Lines Matching refs:he
257 Curl_he2ai(const struct hostent *he, int port) in Curl_he2ai() argument
270 if(!he) in Curl_he2ai()
274 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL)); in Curl_he2ai()
276 for(i = 0; (curr = he->h_addr_list[i]) != NULL; i++) { in Curl_he2ai()
278 size_t namelen = strlen(he->h_name) + 1; /* include null-terminator */ in Curl_he2ai()
280 if(he->h_addrtype == AF_INET6) in Curl_he2ai()
296 memcpy(ai->ai_canonname, he->h_name, namelen); in Curl_he2ai()
306 ai->ai_family = he->h_addrtype; in Curl_he2ai()
322 addr->sin_family = (short)(he->h_addrtype); in Curl_he2ai()
324 addr->sin_family = (CURL_SA_FAMILY_T)(he->h_addrtype); in Curl_he2ai()
335 addr6->sin6_family = (short)(he->h_addrtype); in Curl_he2ai()
337 addr6->sin6_family = (CURL_SA_FAMILY_T)(he->h_addrtype); in Curl_he2ai()