Home | History | Annotate | Download | only in iputils

Lines Matching defs:hp

341 	struct hostent *hp;
458 hp = gethostbyname2(idn ? idn : *argv, AF_INET6);
459 if (hp) {
460 memmove((caddr_t)&to->sin6_addr, hp->h_addr, sizeof(to->sin6_addr));
461 hostname = (char *)hp->h_name;
909 struct hostent *hp;
914 if ((hp = gethostbyaddr((char *)&from->sin6_addr,
917 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS)
922 Printf(" %s (%s)", hp ? (s ? s : hp->h_name) : hostname, pa);