summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/realtek/files/include/linux/netfilter/xt_layer7.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/realtek/files/include/linux/netfilter/xt_layer7.h b/target/linux/realtek/files/include/linux/netfilter/xt_layer7.h
new file mode 100644
index 000000000..147cd6477
--- /dev/null
+++ b/target/linux/realtek/files/include/linux/netfilter/xt_layer7.h
@@ -0,0 +1,13 @@
+#ifndef _XT_LAYER7_H
+#define _XT_LAYER7_H
+
+#define MAX_PATTERN_LEN 8192
+#define MAX_PROTOCOL_LEN 256
+
+struct xt_layer7_info {
+ char protocol[MAX_PROTOCOL_LEN];
+ char pattern[MAX_PATTERN_LEN];
+ u_int8_t invert;
+};
+
+#endif /* _XT_LAYER7_H */