Lines Matching defs:hp
358 register struct hostent *hp;
386 hp = _XGethostbyname(name.nodename, hparams);
387 if (hp != NULL)
389 saddr.sa.sa_family = hp->h_addrtype;
390 switch (hp->h_addrtype) {
393 acopy ( hp->h_addr, &(inetaddr->sin_addr), hp->h_length);
399 acopy ( hp->h_addr, &(inet6addr->sin6_addr), hp->h_length);
999 register struct hostent *hp;
1003 ((hp = _XGethostbyname(hostname, hparams)) != 0)) ||
1004 ((hp = _XGethostbyname(hostname, hparams)) != 0))
1006 saddr.sa.sa_family = hp->h_addrtype;
1014 for (list = hp->h_addr_list; *list; list++)
1017 (void) NewHost (family, (pointer)hp->h_addr, len, FALSE);
1802 register struct hostent *hp;
1817 if ((hp = _XGethostbyname(hostname, hparams)) != NULL) {
1820 for (addrlist = hp->h_addr_list; *addrlist; addrlist++)
1822 addrlist = &hp->h_addr;
1827 sin.sin_family = hp->h_addrtype;
1828 acopy ( *addrlist, &(sin.sin_addr), hp->h_length);