Lines Matching full:hp
68 struct host_list *hp; in search_host() local
73 for (hp = hosts; hp != NULL; hp = hp->next) { in search_host()
74 if (hp->addr.s_addr == addr.s_addr) in search_host()
83 struct host_list *hp; in remember_host() local
85 if (!(hp = (struct host_list *)malloc(sizeof(struct host_list)))) in remember_host()
87 hp->addr.s_addr = addr.s_addr; in remember_host()
88 hp->next = hosts; in remember_host()
89 hosts = hp; in remember_host()
100 struct hostent *hp; in rstat_reply() local
107 hp = gethostbyaddr((char *)&raddrp->sin_addr.s_addr, in rstat_reply()
109 if (hp) in rstat_reply()
110 host = hp->h_name; in rstat_reply()
168 struct hostent *hp; in onehost() local
171 hp = gethostbyname(host); in onehost()
172 if (hp == NULL) { in onehost()
194 memcpy(&addr.sin_addr.s_addr, hp->h_addr, sizeof(int)); in onehost()