diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-02-19 09:20:23 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-05 16:31:29 +0100 |
commit | 41fe3d38ba34b018e63ce75dc04c5db416293258 (patch) | |
tree | cfeb4cc296cd88c7b04c934a1f9c7b07473a3472 /include | |
parent | cdaea7f1ced052581e26993dde10db371fcf9de3 (diff) |
flowtable: support for flags
This new attribute allows you to specify the flowtable flags.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libnftnl/flowtable.h | 1 | ||||
-rw-r--r-- | include/linux/netfilter/nf_tables.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libnftnl/flowtable.h b/include/libnftnl/flowtable.h index 06b06a6..6f68018 100644 --- a/include/libnftnl/flowtable.h +++ b/include/libnftnl/flowtable.h @@ -26,6 +26,7 @@ enum nftnl_flowtable_attr { NFTNL_FLOWTABLE_USE, NFTNL_FLOWTABLE_DEVICES, NFTNL_FLOWTABLE_SIZE, + NFTNL_FLOWTABLE_FLAGS, __NFTNL_FLOWTABLE_MAX }; #define NFTNL_FLOWTABLE_MAX (__NFTNL_FLOWTABLE_MAX - 1) diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h index 3f72520..a842d2e 100644 --- a/include/linux/netfilter/nf_tables.h +++ b/include/linux/netfilter/nf_tables.h @@ -1330,6 +1330,7 @@ enum nft_object_attributes { * @NFTA_FLOWTABLE_USE: number of references to this flow table (NLA_U32) * @NFTA_FLOWTABLE_HANDLE: object handle (NLA_U64) * @NFTA_FLOWTABLE_SIZE: maximum size (NLA_U32) + * @NFTA_FLOWTABLE_FLAGS: flags (NLA_U32) */ enum nft_flowtable_attributes { NFTA_FLOWTABLE_UNSPEC, @@ -1340,6 +1341,7 @@ enum nft_flowtable_attributes { NFTA_FLOWTABLE_HANDLE, NFTA_FLOWTABLE_PAD, NFTA_FLOWTABLE_SIZE, + NFTA_FLOWTABLE_FLAGS, __NFTA_FLOWTABLE_MAX }; #define NFTA_FLOWTABLE_MAX (__NFTA_FLOWTABLE_MAX - 1) |