Lines Matching refs:hptr
102 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf,
128 hptr->h_addrtype = he->h_addrtype;
129 n = hptr->h_length = he->h_length;
135 hptr->h_addr_list = ptr;
138 hptr->h_addr_list[i] = cp;
141 hptr->h_addr_list[i] = NULL;
147 hptr->h_name = cp;
151 hptr->h_aliases = ptr;
155 hptr->h_aliases[i] = cp;
158 hptr->h_aliases[i] = NULL;