Netfilter: web match: ipt_web->xt_web, ipv6 support
[tomato.git] / release / src-rt / linux / linux-2.6 / include / linux / netfilter / xt_web.h
blobc042367aae19a96799cede0a100d28df66e4d8ad
1 /*
3 web (experimental)
4 HTTP client match
5 Copyright (C) 2006 Jonathan Zarate
7 Licensed under GNU GPL v2 or later.
9 */
10 #ifndef _XT_WEB_H
11 #define _XT_WEB_H
13 #define XT_WEB_MAXTEXT 512
15 typedef enum {
16 XT_WEB_HTTP,
17 XT_WEB_RURI,
18 XT_WEB_PATH,
19 XT_WEB_QUERY,
20 XT_WEB_HOST,
21 XT_WEB_HORE
22 } xt_web_mode_t;
24 struct xt_web_info {
25 xt_web_mode_t mode;
26 int invert;
27 char text[XT_WEB_MAXTEXT];
30 #endif