aboutgitcodelistschat:MatrixIRC
path: root/disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/disasm.h b/disasm.h
new file mode 100644
index 0000000..4df0cec
--- /dev/null
+++ b/disasm.h
@@ -0,0 +1,9 @@
+#ifndef DISASM_H_
+#define DISASM_H_
+
+#define SIZE_FILTER 1024
+
+void bpf_disasm(const struct sock_filter f, unsigned int i);
+void bpf_disasm_all(const struct sock_filter *f, unsigned int len);
+
+#endif