aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
-rw-r--r--cooker/filter.c22
1 files changed, 20 insertions, 2 deletions
diff --git a/cooker/filter.c b/cooker/filter.c
index 0b35463..a4e1857 100644
--- a/cooker/filter.c
+++ b/cooker/filter.c
@@ -447,9 +447,27 @@ unsigned int create_bfp_program(struct syscall_entry table[],
size += eq(&filter[size], k, entry, 0,
offset);
break;
+ case NE:
+ size += neq(&filter[size], k, entry, 0,
+ offset);
+ break;
+ case GT:
+ size += gt(&filter[size], k, entry, 0,
+ offset);
+ break;
+ case LT:
+ size += lt(&filter[size], k, entry, 0,
+ offset);
+ break;
+ case GE:
+ size += ge(&filter[size], k, entry, 0,
+ offset);
+ break;
+ case LE:
+ size += le(&filter[size], k, entry, 0,
+ offset);
+ break;
default:
- fprintf(stderr,
- "operation not recognized\n");
continue;
}
n_checks++;