Lines Matching defs:hp
50 struct hostent *hp;
67 hp = gethostbyaddr((char *)&sin->sin_addr,
69 if (hp == NULL)
72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
153 struct hostent *hp;
201 hp = gethostbyname(hostname);
202 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
206 for (i = 0; hp->h_addr_list[i]; i++) {
207 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i];