Searched refs:ht2 (Results 1 – 1 of 1) sorted by relevance
211 compare_hostent(struct hostent *ht1, struct hostent *ht2, void *mdata) in compare_hostent() argument216 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()[all …]