aboutsummaryrefslogtreecommitdiff
path: root/iptables/nft-cache.h
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-15 09:22:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-15 09:22:32 +0000
commit097e968ac5de266fa38ddebc311f3c2fdfb47828 (patch)
treec13472d6baa12a26b2427a040b642a7524fa6aa2 /iptables/nft-cache.h
parentd5cc7e9c6a5e7781d16a1b8eb0d7c63cd8839d00 (diff)
parent24e5ad9a4bc4ca628574b91be215be2caccd1e8b (diff)
downloadiptables-029707a037474bf8a9702097106f63e68be9bda3.tar.gz
Snap for 11224086 from 24e5ad9a4bc4ca628574b91be215be2caccd1e8b to mainline-tzdata5-releaseaml_tz5_341510070aml_tz5_341510050aml_tz5_341510010aml_tz5_341510010
Change-Id: I5237657868b63a1b12981d203443e401fea57205
Diffstat (limited to 'iptables/nft-cache.h')
-rw-r--r--iptables/nft-cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/nft-cache.h b/iptables/nft-cache.h
index 20d96bee..29ec6b5c 100644
--- a/iptables/nft-cache.h
+++ b/iptables/nft-cache.h
@@ -1,6 +1,8 @@
#ifndef _NFT_CACHE_H_
#define _NFT_CACHE_H_
+#include <libnftnl/chain.h>
+
struct nft_handle;
struct nft_chain;
struct nft_cmd;
@@ -16,6 +18,7 @@ int flush_rule_cache(struct nft_handle *h, const char *table,
void nft_cache_build(struct nft_handle *h);
int nft_cache_add_chain(struct nft_handle *h, const struct builtin_table *t,
struct nftnl_chain *c);
+int nft_cache_sort_chains(struct nft_handle *h, const char *table);
struct nft_chain *
nft_chain_find(struct nft_handle *h, const char *table, const char *chain);