diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-01 16:23:24 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-17 19:02:18 +0200 |
commit | 5b5c998da4bdb9e4f1d023e06c983b07c3703af0 (patch) | |
tree | 0c0f0c09b738d40efc50ba56f58b3216e1caf93b /m4 | |
parent | 124587ad42cd7b83e3204b49f1f1e2a0b782c320 (diff) |
nft-cache: Introduce cache levels
Replace the simple have_cache boolean by a cache level indicator
defining how complete the cache is. Since have_cache indicated full
cache (including rules), make code depending on it check for cache level
NFT_CL_RULES.
Core cache fetching routine __nft_build_cache() accepts a new level via
parameter and raises cache completeness to that level.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions