RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / linux / netfilter_ipv4 / ipt_webstr.h
blob1b88651cc15ad5c154577964fd3353016018821e
1 #ifndef _IPT_WEBSTR_H
2 #define _IPT_WEBSTR_H
4 #define BM_MAX_NLEN 256
5 #define BM_MAX_HLEN 1024
7 #define BLK_JAVA 0x01
8 #define BLK_ACTIVE 0x02
9 #define BLK_COOKIE 0x04
10 #define BLK_PROXY 0x08
12 typedef char *(*proc_ipt_search) (char *, char *, int, int);
14 struct ipt_webstr_info {
15 char string[BM_MAX_NLEN];
16 u_int16_t invert;
17 u_int16_t len;
18 u_int8_t type;
21 enum ipt_webstr_type
23 IPT_WEBSTR_HOST,
24 IPT_WEBSTR_URL,
25 IPT_WEBSTR_CONTENT
28 #endif /* _IPT_WEBSTR_H */