diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-10-03 23:20:36 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2012-12-03 00:13:22 +0200 |
commit | 014bafb575467b9b8d03617278b1734136935fbb (patch) | |
tree | 9989baa63040a4a073d13dc36808dd663b744691 /target/linux/realtek | |
parent | 709e200be3507c4f1eed2f4f2e0628b7cfba32c9 (diff) |
add layer7 netfilter header
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek')
-rw-r--r-- | target/linux/realtek/files/include/linux/netfilter/xt_layer7.h | 13 |
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 */ |