Lines Matching refs:he
293 _nss_wins_gethostbyname_r(const char *hostname, struct hostent *he,
301 memset(he, '\0', sizeof(*he));
315 if ((he->h_name = get_static(&buffer, &buflen, namelen)) == NULL)
318 memcpy(he->h_name, name, namelen);
328 if ((he->h_addr_list = (char **)get_static(
333 if ((he->h_addr_list[i] = get_static(&buffer, &buflen,
336 memcpy(he->h_addr_list[i], &ip_list[i], INADDRSZ);
339 he->h_addr_list[count] = NULL;
346 he->h_addrtype = AF_INET;
347 he->h_length = INADDRSZ;
357 if ((he->h_aliases = (char **)get_static(
361 he->h_aliases[0] = NULL;
368 _nss_wins_gethostbyname2_r(const char *name, int af, struct hostent *he,
377 name, he, buffer, buflen, h_errnop);