Lines Matching defs:hp
534 struct hostent *hp;
565 hp = &hs;
573 hp = &hs;
578 &hp, &hosterror);
581 hp = gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1,
584 if (!hp) {
589 hp = gethostbyname(hostname);
592 if (!hp) {
603 while (hp->h_addr_list[curaddr]) {
607 new_sa->sa.sin.sin_addr = *(struct in_addr *)hp->h_addr_list[curaddr];