summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorGiuseppe Longo <giuseppelng@gmail.com>2013-06-18 02:29:11 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-30 23:50:33 +0100
commitb48126ca92cc44e88aa024e6da7ff245914d6a53 (patch)
tree33fabf2d4ded7f1c9be9fc60ada13cbb3629ae14 /iptables/nft.h
parent2c5850147937cd3da104adf654cc7b2d1f0c0a0b (diff)
xtables: allow to zero chains via -Z
Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r--iptables/nft.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index 8d5881d6..082260e5 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -42,6 +42,7 @@ int nft_chain_save(struct nft_handle *h, struct nft_chain_list *list, const char
int nft_chain_user_add(struct nft_handle *h, const char *chain, const char *table);
int nft_chain_user_del(struct nft_handle *h, const char *chain, const char *table);
int nft_chain_user_rename(struct nft_handle *h, const char *chain, const char *table, const char *newname);
+int nft_chain_zero_counters(struct nft_handle *h, const char *chain, const char *table);
/*
* Operations with rule-set.