summaryrefslogtreecommitdiff
path: root/tools/bpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bpf.h')
-rw-r--r--tools/bpf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bpf.h b/tools/bpf.h
index 46f270f..7679d01 100644
--- a/tools/bpf.h
+++ b/tools/bpf.h
@@ -101,6 +101,9 @@ typedef struct sock_filter bpf_instr_raw;
#define BPF_LSH 0x60
#define BPF_RSH 0x70
#define BPF_NEG 0x80
+#define BPF_MOD 0x90
+#define BPF_XOR 0xa0
+
/* BPF_JMP */
#define BPF_JA 0x00
#define BPF_JEQ 0x10