summaryrefslogtreecommitdiffstats
path: root/src/evaluate.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-04-01 22:19:30 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-04-03 19:41:02 +0200
commita3ac2527724dd27628e12caaa55f731b109e4586 (patch)
tree2ed5f4f3ae8734fe75d73d80f471a1f64368c37a /src/evaluate.c
parent3542e49cf539ecfcef6ef7c2d4befb7896ade2cd (diff)
src: split chain list in table
This patch splits table->lists in two: - Chains that reside in the cache are stored in the new tables->cache_chain and tables->cache_chain_ht. The hashtable chain cache allows for fast chain lookups. - Chains that defined via command line / ruleset file reside in tables->chains. Note that chains in the cache (already in the kernel) are not placed in the table->chains. By keeping separated lists, chains defined via command line / ruleset file can be added to cache. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/evaluate.c')
0 files changed, 0 insertions, 0 deletions