netfilter: nft_ct: add byte/packet counter support
commit48f66c905a976bf0ff092fc24f08d9addd82a245
authorFlorian Westphal <fw@strlen.de>
Thu, 7 Jan 2016 20:34:24 +0000 (7 21:34 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 Jan 2016 13:44:09 +0000 (8 14:44 +0100)
treeabe243a1e5b0f13a89e625d2acda0d3f8b4209eb
parentce1e7989d989e36ee3b032d46aab28b7d5e30428
netfilter: nft_ct: add byte/packet counter support

If the accounting extension isn't present, we'll return a counter
value of 0.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nft_ct.c