From 373445dc54eda77fc7b64fddf5e7d35536df51b0 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 12 Dec 2020 20:17:31 +0100 Subject: src: add NFTNL_EXPR_DYNSET_EXPRESSIONS NFTNL_EXPR_DYNSET_EXPR defines the stateful expression type that an element stores when added from the packet path. This patch adds support for the set expression list, which generalizes NFTNL_EXPR_DYNSET_EXPR. This patch also adds nftnl_expr_add_expr() to add new expressions to elements and nftnl_set_expr_expr_foreach() to iterate over the list of expressions. Signed-off-by: Pablo Neira Ayuso --- src/libnftnl.map | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libnftnl.map') diff --git a/src/libnftnl.map b/src/libnftnl.map index 7078a5d..e707b89 100644 --- a/src/libnftnl.map +++ b/src/libnftnl.map @@ -380,4 +380,6 @@ LIBNFTNL_16 { nftnl_set_expr_foreach; nftnl_set_elem_add_expr; nftnl_set_elem_expr_foreach; + nftnl_expr_add_expr; + nftnl_expr_expr_foreach; } LIBNFTNL_15; -- cgit v1.2.3