Lines Matching defs:hp
239 struct hostent *hp;
247 hp = gethostbyaddr((char *)&raddrp->sin_addr,
249 if (hp)
250 host = hp->h_name;
294 struct hostent *hp;
302 hp = gethostbyaddr((char *)&raddrp->sin_addr,
304 if (hp)
305 host = hp->h_name;
351 struct hostent *hp;
357 hp = gethostbyname(host);
358 if (hp == NULL)
373 sin.sin_addr.s_addr = *(int *)hp->h_addr;
401 sin.sin_addr.s_addr = *(int *)hp->h_addr;