Lines Matching defs:hent
4667 struct hostent *hent;
4675 hent = PerlSock_gethostbyname(name);
4687 hent = PerlSock_gethostbyaddr(addr, (Netdb_hlen_t) addrlen, addrtype);
4694 hent = PerlSock_gethostent();
4700 if (!hent) {
4712 if (hent) {
4714 if (hent->h_addr)
4715 sv_setpvn(sv, hent->h_addr, hent->h_length);
4718 sv_setpv(sv, (char*)hent->h_name);
4723 if (hent) {
4725 sv_setpv(sv, (char*)hent->h_name);
4727 for (elem = hent->h_aliases; elem && *elem; elem++) {
4733 sv_setiv(sv, (IV)hent->h_addrtype);
4735 len = hent->h_length;
4738 for (elem = hent->h_addr_list; elem && *elem; elem++) {
4744 if (hent->h_addr)
4745 sv_setpvn(sv, hent->h_addr, len);