Lines Matching refs:hash
165 "Per-bucket hash limit for syncache");
249 printf("WARNING: syncache hash size is not a power of 2.\n");
260 /* Allocate the hash table. */
268 /* Initialize the hash buckets. */
301 /* Cleanup hash buckets: stop timers, free entries, destroy locks. */
708 /* Insert new socket into PCB hash list. */
732 * Install in the reservation hash table for now, but don't yet
740 * put the PCB on the hash lists.
1602 * strong hash (MAC) value and a few bits of TCP SYN options in the ISS
1606 * The available space of 32 bits to store the hash and to encode the SYN
1745 uint32_t iss, hash;
1783 hash = syncookie_mac(&sc->sc_inc, sc->sc_irs, cookie.cookie, secbits,
1787 * Put the flags into the hash and XOR them to get better ISS number
1792 iss = hash & ~0xff;
1793 iss |= cookie.cookie ^ (hash >> 24);
1810 uint32_t hash;
1834 hash = syncookie_mac(inc, seq, cookie.cookie, secbits, (uintptr_t)sch);
1836 /* The recomputed hash matches the ACK if this was a genuine cookie. */
1837 if ((ack & ~0xff) != (hash & ~0xff))