diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-11-19 15:32:18 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-12-30 23:50:21 +0100 |
commit | 5705ea1f4e3c9cd3d5d9cbcf84b9733ce1f07e57 (patch) | |
tree | 8bf9943f0eee5b64acbc1e49ee5ce5c59f56d87b /iptables/nft.h | |
parent | 890fd9ef76ad0c11695fb0d09a88169e6e46584f (diff) |
xtables-restore: add support for dormant tables
This patch adds support for dormant tables for xtables-restore.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index aa458f8c..aed2498b 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -20,6 +20,8 @@ struct nft_table; int nft_table_add(struct nft_handle *h, const struct nft_table *t); int nft_for_each_table(struct nft_handle *h, int (*func)(struct nft_handle *h, const char *tablename, bool counters), bool counters); bool nft_table_find(struct nft_handle *h, const char *tablename); +int nft_table_set_dormant(struct nft_handle *h, const char *table); +int nft_table_wake_dormant(struct nft_handle *h, const char *table); /* * Operations with chains. |