Lines Matching refs:ht2
211 compare_hostent(struct hostent *ht1, struct hostent *ht2, void *mdata) in compare_hostent() argument
216 if (ht1 == ht2) in compare_hostent()
219 if (ht1 == NULL || ht2 == NULL) in compare_hostent()
222 if (ht1->h_name == NULL || ht2->h_name == NULL) in compare_hostent()
225 if (ht1->h_addrtype != ht2->h_addrtype || in compare_hostent()
226 ht1->h_length != ht2->h_length || in compare_hostent()
227 strcmp(ht1->h_name, ht2->h_name) != 0) in compare_hostent()
231 c2 = ht2->h_aliases; in compare_hostent()
233 if ((ht1->h_aliases == NULL || ht2->h_aliases == NULL) && in compare_hostent()
234 ht1->h_aliases != ht2->h_aliases) in compare_hostent()
272 c2 = ht2->h_addr_list; in compare_hostent()
274 if ((ht1->h_addr_list == NULL || ht2->h_addr_list== NULL) && in compare_hostent()
275 ht1->h_addr_list != ht2->h_addr_list) in compare_hostent()
318 dump_hostent(ht2); in compare_hostent()