summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cache.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-04-07 13:47:54 +0200
committerPhil Sutter <phil@nwl.cc>2020-05-11 14:28:28 +0200
commitb301f2ed198804015c4434f925c75e0bd224c4ef (patch)
treea7759ad8abf9f4c35e892f06d587c561f72fe0b3 /iptables/nft-cache.h
parentc63b7643bb433abdb55d934029eaa51451cb1b8c (diff)
nft: cache: Improve fake cache integration
With NFT_CL_FAKE being highest cache level while at the same time __nft_build_cache() treating it equal to NFT_CL_TABLES, no special handling for fake cache is required anymore. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-cache.h')
-rw-r--r--iptables/nft-cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft-cache.h b/iptables/nft-cache.h
index 8c63d8d5..01dd15e1 100644
--- a/iptables/nft-cache.h
+++ b/iptables/nft-cache.h
@@ -4,7 +4,6 @@
struct nft_handle;
void nft_cache_level_set(struct nft_handle *h, int level);
-void nft_fake_cache(struct nft_handle *h);
void nft_rebuild_cache(struct nft_handle *h);
void nft_release_cache(struct nft_handle *h);
void flush_chain_cache(struct nft_handle *h, const char *tablename);