Searched refs:ht1 (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/lib/libc/tests/nss/
H A Dgethostby_test.c214 compare_hostent(struct hostent *ht1, struct hostent *ht2, void *mdata) argument
219 if (ht1 == ht2)
222 if (ht1 == NULL || ht2 == NULL)
225 if (ht1->h_name == NULL || ht2->h_name == NULL)
228 if (ht1->h_addrtype != ht2->h_addrtype ||
229 ht1->h_length != ht2->h_length ||
230 strcmp(ht1->h_name, ht2->h_name) != 0)
233 c1 = ht1->h_aliases;
236 if ((ht1->h_aliases == NULL || ht2->h_aliases == NULL) &&
237 ht1
[all...]

Completed in 34 milliseconds