Lines Matching defs:host1
40 struct hostent *host1;
42 host1 = (struct hostent *) emalloc (sizeof(struct hostent));
43 host1->h_name = name;
44 host1->h_addrtype = AF_INET;
45 host1->h_aliases = name;
46 host1->h_length = 4;
47 host1->h_addr_list[0] = (char *)hostGetByName (name);
48 host1->h_addr_list[1] = NULL;
49 return host1;
54 struct hostent *host1;
56 host1 = (struct hostent *) emalloc (sizeof(struct hostent));
57 host1->h_name = name;
58 host1->h_addrtype = AF_INET;
59 host1->h_aliases = name;
60 host1->h_length = 4;
61 host1->h_addr_list = NULL;
62 return host1;