Searched refs:host1 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/contrib/ntp/libntp/
H A Dmachines.c41 struct hostent *host1; local
43 host1 = (struct hostent *) emalloc (sizeof(struct hostent));
44 host1->h_name = name;
45 host1->h_addrtype = AF_INET;
46 host1->h_aliases = name;
47 host1->h_length = 4;
48 host1->h_addr_list[0] = (char *)hostGetByName (name);
49 host1->h_addr_list[1] = NULL;
50 return host1;
55 struct hostent *host1; local
[all...]
/freebsd-10.1-release/libexec/bootpd/
H A Dreadfile.c1376 * equivalent. Returns TRUE if "host1" and "host2" are equivalent, FALSE
1379 * If the hardware addresses of "host1" and "host2" are identical, but local
1390 struct host *host1 = (struct host *) d1;
1393 if (host1->htype != host2->htype) {
1396 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) {
1400 if ((host1->subnet_mask.s_addr) == (host2->subnet_mask.s_addr)) {
1401 if (((host1->iaddr.s_addr) & (host1->subnet_mask.s_addr)) !=
2059 * equivalent. Returns TRUE if "host1" an
2047 struct host *host1 = (struct host *) d1; local
2068 struct host *host1 = (struct host *) d1; local
[all...]

Completed in 162 milliseconds