Lines Matching refs:h_aliases
108 for (i = 0; he->h_aliases[i]; i++, nptr++) { in __copy_hostent()
109 len += strlen(he->h_aliases[i]) + 1; in __copy_hostent()
143 hptr->h_aliases = ptr; in __copy_hostent()
144 for (i = 0 ; he->h_aliases[i]; i++) { in __copy_hostent()
145 n = strlen(he->h_aliases[i]) + 1; in __copy_hostent()
146 strcpy(cp, he->h_aliases[i]); in __copy_hostent()
147 hptr->h_aliases[i] = cp; in __copy_hostent()
150 hptr->h_aliases[i] = NULL; in __copy_hostent()
288 if (ht->h_aliases != NULL) { in host_marshal_func()
290 for (iter = ht->h_aliases; *iter; ++iter) { in host_marshal_func()
329 if (new_ht.h_aliases != NULL) { in host_marshal_func()
331 memcpy(p, new_ht.h_aliases, sizeof(char *) * aliases_size); in host_marshal_func()
332 new_ht.h_aliases = (char **)p; in host_marshal_func()
335 for (iter = new_ht.h_aliases; *iter; ++iter) { in host_marshal_func()
411 if (ht->h_aliases != NULL) { in host_unmarshal_func()
412 NS_APPLY_OFFSET(ht->h_aliases, orig_buf, p, char **); in host_unmarshal_func()
414 for (iter = ht->h_aliases; *iter; ++iter) in host_unmarshal_func()
470 he.h_aliases = hed->host_aliases; in fakeaddr()