diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-12 20:13:07 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-17 15:38:41 +0100 |
commit | 7d010b8f5b769328ae21ad71a3d583d9859fde2c (patch) | |
tree | da587fdf3088e310ae070dd3d4015ea0045e102b /include/libnftnl/expr.h | |
parent | 210717c2641874edaee705a9c08820b7082d16ea (diff) |
src: add NFTNL_SET_ELEM_EXPRESSIONS
NFTNL_SET_ELEM_EXPR defines the stateful expression type that this
element stores. This is useful to restore runtime set element stateful
expressions (when saving, then reboot and restore).
This patch adds support for the set element expression list, which
generalizes NFTNL_SET_ELEM_EXPR.
This patch also adds nftnl_set_elem_add_expr() to add new expressions to
set elements and nftnl_set_elem_expr_foreach() to iterate over the list
of expressions.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/expr.h')
0 files changed, 0 insertions, 0 deletions