mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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…
Reference in a new issue