aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-01 21:29:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-01 21:29:52 +0000
commit711d0b4d931d938759a3df596ea031d59af1aa47 (patch)
treefad86577dce7e8304886a49c446260d9251d16a8 /target/linux/generic-2.4/patches
parentf1c9c9c52c2f59243f115d78ef5764a144b183b0 (diff)
downloadupstream-711d0b4d931d938759a3df596ea031d59af1aa47.tar.gz
upstream-711d0b4d931d938759a3df596ea031d59af1aa47.tar.bz2
upstream-711d0b4d931d938759a3df596ea031d59af1aa47.zip
[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
Diffstat (limited to 'target/linux/generic-2.4/patches')
-rw-r--r--target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch b/target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch
index 7ad8436212..e7a7d8772a 100644
--- a/target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch
+++ b/target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch
@@ -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 */