Lines Matching defs:hp
51 struct hostent *hp;
70 hp = gethostbyaddr((char *)&sin->sin_addr,
72 if (hp == NULL)
75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
158 struct hostent *hp;
209 hp = gethostbyname(hostname);
210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
214 for (i = 0; hp->h_addr_list[i]; i++) {
215 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i];