diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-04-13 04:01:09 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-04-13 13:43:46 +0200 |
commit | f1cc44edb2182ce745d008cc6932afad165d02c6 (patch) | |
tree | 83a4b9b5c84d828ab9240d9a61cd01c5de93f1db /include/expression.h | |
parent | ad43b84e1942dd171d6e78c7717495e7186e8307 (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'include/expression.h')
-rw-r--r-- | include/expression.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <payload.h> |