netfilter: nft_counter: add stateful object type
Register a new percpu counter stateful object type into the stateful object infrastructure. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
e50092404c
commit
b1ce0ced10
2 changed files with 114 additions and 27 deletions
|
|
@ -1186,6 +1186,7 @@ enum nft_fib_flags {
|
|||
};
|
||||
|
||||
#define NFT_OBJECT_UNSPEC 0
|
||||
#define NFT_OBJECT_COUNTER 1
|
||||
|
||||
/**
|
||||
* enum nft_object_attributes - nf_tables stateful object netlink attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue