diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-15 09:22:32 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-15 09:22:32 +0000 |
commit | 097e968ac5de266fa38ddebc311f3c2fdfb47828 (patch) | |
tree | c13472d6baa12a26b2427a040b642a7524fa6aa2 /iptables/nft-cache.h | |
parent | d5cc7e9c6a5e7781d16a1b8eb0d7c63cd8839d00 (diff) | |
parent | 24e5ad9a4bc4ca628574b91be215be2caccd1e8b (diff) | |
download | iptables-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.h | 3 |
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); |