summaryrefslogtreecommitdiffstats
path: root/include/libnftnl/expr.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-07-05 19:56:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-07-05 20:38:12 +0200
commit291e93045704bce5eea62d5d5214e38c2b65c5b5 (patch)
tree808dc86209be7cd6060ecdf92a7bed46448e463d /include/libnftnl/expr.h
parentcd3c21e618368b7744896e02ae94ed5fcc3f8df9 (diff)
expr: last: add NFTNL_EXPR_LAST_SET
Honor NFTA_LAST_SET netlink attribute, it tells us if a packet has ever updated this expression. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/expr.h')
-rw-r--r--include/libnftnl/expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h
index 9b90e3e..00c63ab 100644
--- a/include/libnftnl/expr.h
+++ b/include/libnftnl/expr.h
@@ -313,6 +313,7 @@ enum {
enum {
NFTNL_EXPR_LAST_MSECS = NFTNL_EXPR_BASE,
+ NFTNL_EXPR_LAST_SET,
};
#ifdef __cplusplus