[brcm-2.4] include missing xt_layer7.h in 602-netfilter_layer7_2.21.patch
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 1 May 2009 21:29:52 +0000 (21:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 1 May 2009 21:29:52 +0000 (21:29 +0000)
SVN-Revision: 15546

target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch

index 7ad8436212407bb3a6f02ba16168e3e7bb414026..e7a7d8772ab681710e943899ed855a591e3ae526 100644 (file)
 +      }
 +      *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 */