From 04cc28d8d6923ea66b08ae9a74d81d8b6ac5b2d7 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 30 Jan 2020 01:16:34 +0100 Subject: 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 Signed-off-by: Stefano Brivio Signed-off-by: Pablo Neira Ayuso --- include/set_elem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/set_elem.h') 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; -- cgit v1.2.3