summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-10-03 23:20:36 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:44:46 +0300
commit85d20886962ddd1eee7fc4dec64669736918cf6a (patch)
treee422b0f0e36c4d9f8f454a5e9f0091dc32c8ada2
parent77ae7d375b727f757bf60c93a21d7360524e2e39 (diff)
add layer7 netfilter header
Signed-off-by: Roman Yeryomin <roman@advem.lv>
-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 */