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>
This commit is contained in:
parent
ce1e7989d9
commit
48f66c905a
2 changed files with 40 additions and 0 deletions
|
|
@ -757,6 +757,8 @@ enum nft_ct_keys {
|
|||
NFT_CT_PROTO_SRC,
|
||||
NFT_CT_PROTO_DST,
|
||||
NFT_CT_LABELS,
|
||||
NFT_CT_PKTS,
|
||||
NFT_CT_BYTES,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue