Lines Matching defs:hp
336 struct hostent *hp;
645 else if (((hp = gethostbyname(name)) == (struct hostent *)NULL)
646 || hp->h_addrtype != AF_INET) {
649 ha.family = XFamily(hp->h_addrtype);
650 ha.length = hp->h_length;
656 for (list = hp->h_addr_list; *list; list++) {
666 ha.address = hp->h_addr;
694 static struct hostent *hp = NULL;
777 hp = gethostbyaddr (ha->address, ha->length, AF_INET);
781 if (hp)
782 return (hp->h_name);