diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2020-01-30 01:16:34 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-02-05 15:49:11 +0100 |
commit | 04cc28d8d6923ea66b08ae9a74d81d8b6ac5b2d7 (patch) | |
tree | 725a7adcc64af08cc5c5c80f9fde703f3f9a7875 /include/set_elem.h | |
parent | 7cd41b5387acf84088e9299a796f7c2c72339a1a (diff) |
set_elem: Introduce support for NFTNL_SET_ELEM_KEY_END
The new set element attribute maps to the netlink attribute
NFTA_SET_ELEM_KEY_END in the same way as NFTNL_SET_ELEM_KEY
maps to NFTA_SET_ELEM_KEY, and represents the key data used
to express the upper bound of a range, in concatenations.
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/set_elem.h')
-rw-r--r-- | include/set_elem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/set_elem.h b/include/set_elem.h index cc4d529..52f185a 100644 --- a/include/set_elem.h +++ b/include/set_elem.h @@ -8,6 +8,7 @@ struct nftnl_set_elem { uint32_t set_elem_flags; uint32_t flags; union nftnl_data_reg key; + union nftnl_data_reg key_end; union nftnl_data_reg data; struct nftnl_expr *expr; uint64_t timeout; |