Lines Matching defs:host1
1357 * equivalent. Returns TRUE if "host1" and "host2" are equivalent, FALSE
1360 * If the hardware addresses of "host1" and "host2" are identical, but
1370 struct host *host1 = (struct host *) d1;
1373 if (host1->htype != host2->htype) {
1376 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) {
1380 if ((host1->subnet_mask.s_addr) == (host2->subnet_mask.s_addr)) {
1381 if (((host1->iaddr.s_addr) & (host1
2018 * equivalent. Returns TRUE if "host1" and "host2" are equivalent, FALSE
2028 struct host *host1 = (struct host *) d1;
2031 if (host1->htype != host2->htype) {
2034 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) {
2048 struct host *host1 = (struct host *) d1;
2051 return (host1->iaddr.s_addr == host2->iaddr.s_addr);