Lines Matching defs:hash
3062 unsigned hash;
3065 * hash-perfect mode. When we get too many multicasts for perfect
3066 * filtering with these chips, we need to switch into hash-only
3076 * go into hash perfect mode (512 bit multicast
3077 * hash and one perfect hardware).
3086 hash = tulip_mchash(LLADDR((struct sockaddr_dl *)ifma->ifma_addr));
3087 sp[hash >> 4] |= htole32(1 << (hash & 0xF));
3090 * No reason to use a hash if we are going to be
3094 hash = tulip_mchash(ifp->if_broadcastaddr);
3095 sp[hash >> 4] |= htole32(1 << (hash & 0xF));
3097 hash = tulip_mchash((caddr_t)eaddr);
3098 sp[hash >> 4] |= htole32(1 << (hash & 0xF));