mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
netfilter: flowtable: add counter support
Add a new flag to turn on flowtable counters which are stored in the conntrack entry. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
@@ -1557,10 +1557,13 @@ enum nft_object_attributes {
|
||||
* enum nft_flowtable_flags - nf_tables flowtable flags
|
||||
*
|
||||
* @NFT_FLOWTABLE_HW_OFFLOAD: flowtable hardware offload is enabled
|
||||
* @NFT_FLOWTABLE_COUNTER: enable flow counters
|
||||
*/
|
||||
enum nft_flowtable_flags {
|
||||
NFT_FLOWTABLE_HW_OFFLOAD = 0x1,
|
||||
NFT_FLOWTABLE_MASK = NFT_FLOWTABLE_HW_OFFLOAD
|
||||
NFT_FLOWTABLE_COUNTER = 0x2,
|
||||
NFT_FLOWTABLE_MASK = (NFT_FLOWTABLE_HW_OFFLOAD |
|
||||
NFT_FLOWTABLE_COUNTER)
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user