Lines Matching defs:hp
453 register struct hostent *hp;
482 hp = _XGethostbyname(name.nodename, hparams);
483 if (hp != NULL) {
484 saddr.sa.sa_family = hp->h_addrtype;
485 switch (hp->h_addrtype) {
488 memcpy(&(inetaddr->sin_addr), hp->h_addr, hp->h_length);
494 memcpy(&(inet6addr->sin6_addr), hp->h_addr, hp->h_length);
1058 register struct hostent *hp;
1062 ((hp = _XGethostbyname(hostname, hparams)) != 0)) ||
1063 ((hp = _XGethostbyname(hostname, hparams)) != 0)) {
1064 saddr.sa.sa_family = hp->h_addrtype;
1073 for (list = hp->h_addr_list; *list; list++)
1076 (void) NewHost(family, (void *) hp->h_addr, len,
1857 register struct hostent *hp;
1872 if ((hp = _XGethostbyname(hostname, hparams)) != NULL) {
1875 for (addrlist = hp->h_addr_list; *addrlist; addrlist++)
1877 addrlist = &hp->h_addr;
1882 sin.sin_family = hp->h_addrtype;
1883 memcpy(&(sin.sin_addr), *addrlist, hp->h_length);