summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-10-03 23:20:36 +0300
committerRoman Yeryomin <roman@advem.lv>2012-12-03 00:13:22 +0200
commit014bafb575467b9b8d03617278b1734136935fbb (patch)
tree9989baa63040a4a073d13dc36808dd663b744691
parent709e200be3507c4f1eed2f4f2e0628b7cfba32c9 (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 */