summaryrefslogtreecommitdiffstats
path: root/include/libnftables
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <alvaroneay@gmail.com>2013-06-08 03:36:04 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-08 19:28:56 +0200
commit28aece8907a66af30e3b88882c371f9fa3358371 (patch)
tree4eda5eff230fd0b634ea6a8b42b7e2bbe6f9a5a0 /include/libnftables
parentff48b0628e95d458bd38e1a95aeed116bcabb133 (diff)
chain: add function to export tables in JSON format
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables')
-rw-r--r--include/libnftables/chain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftables/chain.h b/include/libnftables/chain.h
index f06f743..3645eaa 100644
--- a/include/libnftables/chain.h
+++ b/include/libnftables/chain.h
@@ -44,6 +44,7 @@ void nft_chain_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_chain
enum {
NFT_CHAIN_O_DEFAULT = 0,
NFT_CHAIN_O_XML,
+ NFT_CHAIN_O_JSON,
};
enum nft_chain_parse_type {