Lines Matching refs:host
52 static struct hostent host;
115 host.h_name = bp;
131 host.h_aliases = host_aliases;
134 host.h_addr_list = h_addr_ptrs;
165 host.h_name = bp;
166 return (&host);
178 if (n != host.h_length) {
187 host.h_length = n;
189 host.h_addrtype = (class == C_IN) ? AF_INET : AF_UNSPEC;
191 host.h_name = bp;
219 host.h_addr = h_addr_ptrs[0];
221 return (&host);
395 host.h_addr_list = host_addrs;
397 host.h_addr = hostaddr;
398 *((u_long *)host.h_addr) = inet_addr(p);
399 host.h_length = sizeof (u_long);
400 host.h_addrtype = AF_INET;
403 host.h_name = cp;
404 q = host.h_aliases = host_aliases;
420 return (&host);