mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 09:09:55 -04:00
netfilter: nf_tables: add enum nft_flowtable_flags to uapi
Expose the NFT_FLOWTABLE_HW_OFFLOAD flag through uapi. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
@@ -1553,6 +1553,16 @@ enum nft_object_attributes {
|
||||
};
|
||||
#define NFTA_OBJ_MAX (__NFTA_OBJ_MAX - 1)
|
||||
|
||||
/**
|
||||
* enum nft_flowtable_flags - nf_tables flowtable flags
|
||||
*
|
||||
* @NFT_FLOWTABLE_HW_OFFLOAD: flowtable hardware offload is enabled
|
||||
*/
|
||||
enum nft_flowtable_flags {
|
||||
NFT_FLOWTABLE_HW_OFFLOAD = 0x1,
|
||||
NFT_FLOWTABLE_MASK = NFT_FLOWTABLE_HW_OFFLOAD
|
||||
};
|
||||
|
||||
/**
|
||||
* enum nft_flowtable_attributes - nf_tables flow table netlink attributes
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user