Lines Matching refs:hp
85 register HEADER *hp;
98 hp = &answer->hdr;
99 ancount = ntohs(hp->ancount);
100 qdcount = ntohs(hp->qdcount);
121 if (hp->aa)
234 struct hostent *hp, *gethostdomain();
274 register struct hostent *hp;
294 hp = getanswer(&buf, n, 1);
295 if (hp == NULL)
297 hp->h_addrtype = type;
298 hp->h_length = len;
302 return (hp);
318 struct hostent *hp, *hp2;
320 if ((hp = _getrhbyaddr(addr, len, type)) == (struct hostent *)NULL)
324 (void) strcpy(hbuf, hp->h_name);