summaryrefslogtreecommitdiffstats
path: root/include/expression.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-07-19 15:05:27 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-07-19 19:24:38 +0200
commit6089630f54cecada1fcb91e12ad5eb1811010e48 (patch)
treeb4401e5832352238fca1c8e2390230fe0c62492c /include/expression.h
parent2b261897fa07006e8a46003f8448b69691555314 (diff)
segtree: Introduce flag for half-open range elements
This flag is required by userspace only, so can live within userdata. It's sole purpose is for 'nft monitor' to detect half-open ranges (which are comprised of a single element only). Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/expression.h')
-rw-r--r--include/expression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/expression.h b/include/expression.h
index 68a36e8a..828dbaee 100644
--- a/include/expression.h
+++ b/include/expression.h
@@ -256,6 +256,7 @@ struct expr {
uint64_t expiration;
const char *comment;
struct stmt *stmt;
+ uint32_t elem_flags;
};
struct {
/* EXPR_UNARY */