Home
last modified time | relevance | path

Searched refs:dhtable (Results 1 – 1 of 1) sorted by relevance

/netbsd/src/sys/netinet/
Dportalgo.c658 static uint16_t dhtable[8]; in algo_doublehash() local
674 if (dhtable[0] == 0) in algo_doublehash()
675 for (size_t i = 0; i < __arraycount(dhtable); i++) in algo_doublehash()
676 dhtable[i] = cprng_fast32() & 0xffff; in algo_doublehash()
681 idx = Fhash(inp) % __arraycount(dhtable); /* G */ in algo_doublehash()
685 myport = mymin + (offset + dhtable[idx]) in algo_doublehash()
687 dhtable[idx]++; in algo_doublehash()