mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[brcm-2.4] include missing xt_layer7.h in 602-netfilter_layer7_2.21.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15546 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -2043,3 +2043,20 @@
|
||||
+ }
|
||||
+ *dst++ = '\0';
|
||||
+}
|
||||
--- /dev/null
|
||||
+++ b/include/linux/netfilter/xt_layer7.h
|
||||
@@ -0,0 +1,14 @@
|
||||
+#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;
|
||||
+ u_int8_t pkt;
|
||||
+};
|
||||
+
|
||||
+#endif /* _XT_LAYER7_H */
|
||||
|
||||
Reference in New Issue
Block a user