Lines Matching refs:he
66 struct hostent *he;
98 he = gethostbyname (nodename);
99 if (!he || he->h_addr_list[0] == NULL)
102 switch (he->h_addrtype)
124 switch (he->h_addrtype)
134 if (he->h_length != sizeof (sinp->sin6_addr))
137 memcpy (&sinp->sin6_addr, he->h_addr_list[0], he->h_length);
153 if (he->h_length != sizeof (sinp->sin_addr))
156 memcpy (&sinp->sin_addr, he->h_addr_list[0], he->h_length);
172 if (he->h_name)
173 cn = he->h_name;
187 tmp->ai_addr->sa_family = he->h_addrtype;