repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Netfilter: web match: ipt_web->xt_web, ipv6 support
[tomato.git]
/
release
/
src-rt
/
linux
/
linux-2.6
/
include
/
linux
/
netfilter
/
xt_web.h
blob
c042367aae19a96799cede0a100d28df66e4d8ad
1
/*
2
3
web (experimental)
4
HTTP client match
5
Copyright (C) 2006 Jonathan Zarate
6
7
Licensed under GNU GPL v2 or later.
8
9
*/
10
#ifndef _XT_WEB_H
11
#define _XT_WEB_H
12
13
#define XT_WEB_MAXTEXT 512
14
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
;
23
24
struct
xt_web_info
{
25
xt_web_mode_t mode
;
26
int
invert
;
27
char
text
[
XT_WEB_MAXTEXT
];
28
};
29
30
#endif