netfilter: nf_tables: expose enum nft_chain_flags through UAPI
This enum definition was never exposed through UAPI. Rename NFT_BASE_CHAIN to NFT_CHAIN_BASE for consistency. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
@@ -184,6 +184,11 @@ enum nft_table_attributes {
|
||||
};
|
||||
#define NFTA_TABLE_MAX (__NFTA_TABLE_MAX - 1)
|
||||
|
||||
enum nft_chain_flags {
|
||||
NFT_CHAIN_BASE = (1 << 0),
|
||||
NFT_CHAIN_HW_OFFLOAD = (1 << 1),
|
||||
};
|
||||
|
||||
/**
|
||||
* enum nft_chain_attributes - nf_tables chain netlink attributes
|
||||
*
|
||||
|
Reference in New Issue
Block a user