Lines Matching refs:host
49 static struct hostent host;
112 host.h_name = bp;
128 host.h_aliases = host_aliases;
131 host.h_addr_list = h_addr_ptrs;
162 host.h_name = bp;
163 return (&host);
175 if (n != host.h_length) {
184 host.h_length = n;
186 host.h_addrtype = (class == C_IN) ? AF_INET : AF_UNSPEC;
188 host.h_name = bp;
216 host.h_addr = h_addr_ptrs[0];
218 return (&host);
393 host.h_addr_list = host_addrs;
395 host.h_addr = hostaddr;
396 *((u_long *)host.h_addr) = inet_addr(p);
397 host.h_length = sizeof (u_long);
398 host.h_addrtype = AF_INET;
401 host.h_name = cp;
402 q = host.h_aliases = host_aliases;
418 return (&host);