aboutgitcodelistschat:MatrixIRC
path: root/cooker/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'cooker/filter.h')
-rw-r--r--cooker/filter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cooker/filter.h b/cooker/filter.h
index 2729669..0a7d0e0 100644
--- a/cooker/filter.h
+++ b/cooker/filter.h
@@ -33,6 +33,7 @@
#define LT(x, a1, a2) GE((x), (a2), (a1))
#define LE(x, a1, a2) GT((x), (a2), (a1))
#define LOAD(x) BPF_STMT(BPF_LD | BPF_W | BPF_ABS, (x))
+#define AND(x) BPF_STMT(BPF_ALU | BPF_AND | BPF_IMM, (x))
#define MAX_FILTER 1024
#define MAX_JUMPS 128