Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nft-cache: Introduce cache levels | Phil Sutter | 2019-10-17 | 1 | -15/+39 |
| | | | | | | | | | | | | | 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> | ||||
* | nft: Extract cache routines into nft-cache.c | Phil Sutter | 2019-10-10 | 1 | -0/+376 |
The amount of code dealing with caching only is considerable and hence deserves an own source file. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> |