Home
last modified time | relevance | path

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

/mOS-networking-stack/core/src/include/
H A Dfhash.h7 #define NUM_BINS (131072) /* 132 K entries per thread*/ macro
11 #define INVALID_HASH (NUM_BINS + 1)
23 tcp_stream* ht_array[NUM_BINS][TCP_AR_CNT];
25 hash_bucket_head ht_table[NUM_BINS];
/mOS-networking-stack/core/src/
H A Dfhash.c88 return hash & (NUM_BINS - 1); in HashFlow()
90 return SuperFastHash((const char *)&flow->saddr, 12) & (NUM_BINS - 1); in HashFlow()
109 for (i = 0; i < NUM_BINS; i++) in CreateHashtable()
134 assert(idx >=0 && idx < NUM_BINS); in HTInsert()
H A Dcore.c804 for (i = 0; i < NUM_BINS; i++) { in DestroyRemainingFlows()