Lines Matching defs:hp
62 struct host_list *hp;
67 for (hp = hosts; hp != NULL; hp = hp->next) {
68 if (hp->addr.s_addr == addr.s_addr)
77 struct host_list *hp;
79 if (!(hp = malloc(sizeof(struct host_list)))) {
83 hp->addr.s_addr = addr.s_addr;
84 hp->next = hosts;
85 hosts = hp;
154 struct hostent *hp;
159 hp = gethostbyaddr((char *)&raddrp->sin_addr.s_addr,
161 if (hp)
162 host = hp->h_name;