Home | History | Annotate | Download | only in netboot

Lines Matching full:hash

1449         u8     hash;
1451 hash = (a[0]^a[3]); /* & 077 */
1452 hash ^= ((a[0]^a[3])>>6); /* & 003 */
1453 hash ^= ((a[1]^a[4])<<2); /* & 074 */
1454 hash ^= ((a[1]^a[4])>>4); /* & 017 */
1455 hash ^= ((a[2]^a[5])<<4); /* & 060 */
1456 hash ^= ((a[2]^a[5])>>2); /* & 077 */
1458 return (hash & 077);
1472 u32 hash;
1474 hash = XOR8( DA(a,0), DA(a, 6), DA(a,12), DA(a,18), DA(a,24), DA(a,30), DA(a,36), DA(a,42) );
1475 hash |= XOR8( DA(a,1), DA(a, 7), DA(a,13), DA(a,19), DA(a,25), DA(a,31), DA(a,37), DA(a,43) ) << 1;
1476 hash |= XOR8( DA(a,2), DA(a, 8), DA(a,14), DA(a,20), DA(a,26), DA(a,32), DA(a,38), DA(a,44) ) << 2;
1477 hash |= XOR8( DA(a,3), DA(a, 9), DA(a,15), DA(a,21), DA(a,27), DA(a,33), DA(a,39), DA(a,45) ) << 3;
1478 hash |= XOR8( DA(a,4), DA(a,10), DA(a,16), DA(a,22), DA(a,28), DA(a,34), DA(a,40), DA(a,46) ) << 4;
1479 hash |= XOR8( DA(a,5), DA(a,11), DA(a,17), DA(a,23), DA(a,29), DA(a,35), DA(a,41), DA(a,47) ) << 5;
1481 return hash;
2671 * the hash table is set to receive all group addresses.
2674 * hash table, as necessary.