blob: 176208e2146f5955d796c46afc4b346ea1533fa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
web (experimental)
HTTP client match
Copyright (C) 2006 Jonathan Zarate
Licensed under GNU GPL v2 or later.
*/
#ifndef _IPT_WEB_H
#define _IPT_WEB_H
#define IPT_WEB_MAXTEXT 512
typedef enum {
IPT_WEB_HTTP,
IPT_WEB_RURI,
IPT_WEB_PATH,
IPT_WEB_QUERY,
IPT_WEB_HOST,
IPT_WEB_HORE
} ipt_web_mode_t;
struct ipt_web_info {
ipt_web_mode_t mode;
int invert;
char text[IPT_WEB_MAXTEXT];
};
#endif
|