From f1cc44edb2182ce745d008cc6932afad165d02c6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 13 Apr 2022 04:01:09 +0200 Subject: src: add EXPR_F_KERNEL to identify expression in the kernel This allows to identify the set elements that reside in the kernel. Signed-off-by: Pablo Neira Ayuso --- include/expression.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/expression.h') diff --git a/include/expression.h b/include/expression.h index 78f788b3..ce32e1f3 100644 --- a/include/expression.h +++ b/include/expression.h @@ -192,6 +192,7 @@ const struct expr_ops *expr_ops_by_type(enum expr_types etype); * @EXPR_F_INTERVAL_END: set member ends an open interval * @EXPR_F_BOOLEAN: expression is boolean (set by relational expr on LHS) * @EXPR_F_INTERVAL: expression describes a interval + * @EXPR_F_KERNEL: expression resides in the kernel */ enum expr_flags { EXPR_F_CONSTANT = 0x1, @@ -200,6 +201,7 @@ enum expr_flags { EXPR_F_INTERVAL_END = 0x8, EXPR_F_BOOLEAN = 0x10, EXPR_F_INTERVAL = 0x20, + EXPR_F_KERNEL = 0x40, }; #include -- cgit v1.2.3