1052: /* XXX checks for bridge case? */
1053: if (!memcmp(ar_sha(ah), CLLADDR(ifp->if_sadl), ifp->if_addrlen)) {
1054: ARP_STATINC(ARP_STAT_RCVLOCALSHA);
1058: /* XXX checks for bridge case? */
1059: if (!memcmp(ar_sha(ah), ifp->if_broadcastaddr, ifp->if_addrlen)) {
1060: ARP_STATINC(ARP_STAT_RCVBCASTSHA);
1077: if (sdl->sdl_alen &&
1078: memcmp(ar_sha(ah), CLLADDR(sdl), sdl->sdl_alen)) {
1079: if (rt->rt_flags & RTF_STATIC) {
1422: goto out;
1423: if (memcmp(tha, CLLADDR(ifp->if_sadl), ifp->if_sadl->sdl_alen))
1424: goto out;