Lines Matching defs:host1
1376 * equivalent. Returns TRUE if "host1" and "host2" are equivalent, FALSE
1379 * If the hardware addresses of "host1" and "host2" are identical, but
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" and "host2" are equivalent, FALSE
2070 struct host *host1 = (struct host *) d1;
2073 if (host1->htype != host2->htype) {
2076 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) {
2091 struct host *host1 = (struct host *) d1;
2094 return (host1->iaddr.s_addr == host2->iaddr.s_addr);