path: root/src/expr_ops.c
diff options
authorPablo Neira Ayuso <>2016-09-20 17:53:21 +0200
committerPablo Neira Ayuso <>2016-10-13 10:31:15 +0200
commit200da4866ada06b2ee0f708c93dbdf9dcd0fcfe4 (patch)
tree62e494df34d41ad1acf94e1ab54b11365651cc4a /src/expr_ops.c
parentc11103944cee05fbd1bba7ed60b017b6bd4ad57b (diff)
src: add range expression
Add range expression available that is scheduled for linux kernel 4.9. This range expression allows us to check if a given value placed in a register is within/outside a specified interval. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/expr_ops.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr_ops.c b/src/expr_ops.c
index 2a047d2..55748d6 100644
--- a/src/expr_ops.c
+++ b/src/expr_ops.c
@@ -22,6 +22,7 @@ extern struct expr_ops expr_ops_meta;
extern struct expr_ops expr_ops_ng;
extern struct expr_ops expr_ops_nat;
extern struct expr_ops expr_ops_payload;
+extern struct expr_ops expr_ops_range;
extern struct expr_ops expr_ops_redir;
extern struct expr_ops expr_ops_reject;
extern struct expr_ops expr_ops_queue;
@@ -49,6 +50,7 @@ static struct expr_ops *expr_ops[] = {
+ &expr_ops_range,