History

netfilter: nf_tables: add enum nft_flowtable_flags to uapi

Expose the NFT_FLOWTABLE_HW_OFFLOAD flag through uapi.

Pablo Neira Ayuso committed 6 years ago

Commit cfbd1121 parent 8ac2bd33 files · +12 −2Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+10−0
@@ -1553,6 +1553,16 @@ enum nft_object_attributes { · 1552 unmodified lines
1553};1553};
1554#define NFTA_OBJ_MAX (__NFTA_OBJ_MAX - 1)1554#define NFTA_OBJ_MAX (__NFTA_OBJ_MAX - 1)
1555 1555
1556/**
1557 * enum nft_flowtable_flags - nf_tables flowtable flags
1558 *
1559 * @NFT_FLOWTABLE_HW_OFFLOAD: flowtable hardware offload is enabled
1560 */
1561enum nft_flowtable_flags {
1562 NFT_FLOWTABLE_HW_OFFLOAD = 0x1,
1563 NFT_FLOWTABLE_MASK = NFT_FLOWTABLE_HW_OFFLOAD
1564};
1565
1556/**1566/**
1557 * enum nft_flowtable_attributes - nf_tables flow table netlink attributes1567 * enum nft_flowtable_attributes - nf_tables flow table netlink attributes
1558 *1568 *