summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cache.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-01-06 13:20:16 +0100
committerPhil Sutter <phil@nwl.cc>2020-05-11 14:28:28 +0200
commit80251bc2a56ed612188393a1e588c661ebd43da5 (patch)
treeea820f96f90b737250a86edcbd72c32d90eeaeaf /iptables/nft-cache.h
parent59e80a8e50148c31be71a984a03456800f179123 (diff)
nft: remove cache build calls
The cache requirements are now calculated once from the parsing phase. There is no need to call __nft_build_cache() from several spots in the codepath anymore. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> 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 cf28808e..8c63d8d5 100644
--- a/iptables/nft-cache.h
+++ b/iptables/nft-cache.h
@@ -5,7 +5,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_build_cache(struct nft_handle *h, struct nftnl_chain *c);
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);