Lines Matching full:hps
203 struct hostent *hps, *hpc; in runtest() local
210 hps = gethostbyname("example.com"); in runtest()
211 if (hps == NULL) { in runtest()
215 if (hostent_compare(hps, hpc)) in runtest()
219 hps = gethostbyname2("example.com", AF_INET); in runtest()
220 if (hps == NULL) { in runtest()
224 if (hostent_compare(hps, hpc)) in runtest()
228 hps = gethostbyname2("example.com", AF_INET6); in runtest()
229 if (hps == NULL) { in runtest()
233 if (hostent_compare(hps, hpc)) in runtest()
303 hps = gethostbyaddr(&ip4, sizeof(ip4), AF_INET); in runtest()
304 if (hps == NULL) { in runtest()
308 if (hostent_compare(hps, hpc)) in runtest()
313 hps = gethostbyaddr(&ip6, sizeof(ip6), AF_INET6); in runtest()
314 if (hps == NULL) { in runtest()
318 if (hostent_compare(hps, hpc)) { in runtest()