Searched defs:hp2 (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsn2princ.c137 struct hostent *hp2 = NULL; local
195 hp2 = res_getipnodebyaddr(hp->h_addr, hp->h_length,
198 if (hp2 != NULL) {
200 remote_host = strdup(hp2->h_name);
202 res_freehostent(hp2);
214 if (hp2 != NULL) {
215 res_freehostent(hp2);
/osnet-11/usr/src/lib/libresolv/
H A Dres_gethost.c318 struct hostent *hp, *hp2; local
327 if ((hp2 = res_gethostbyname(hbuf)) != (struct hostent *)NULL)
328 for (a = hp2->h_addr_list; *a; a++)
330 if (memcmp(*a, addr, hp2->h_length) == 0)
332 if (bcmp(*a, addr, hp2->h_length) == 0)
334 return (hp2);

Completed in 26 milliseconds