From 85d20886962ddd1eee7fc4dec64669736918cf6a Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Wed, 3 Oct 2012 23:20:36 +0300 Subject: add layer7 netfilter header Signed-off-by: Roman Yeryomin --- .../linux/realtek/files/include/linux/netfilter/xt_layer7.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/realtek/files/include/linux/netfilter/xt_layer7.h 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 */ -- cgit v1.2.3