RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / linux / netfilter / xt_webmon.h
blobfc1e85c1781a70e785a177061776e467a8807d1a
1 /* webmon -- A netfilter module to match URLs in HTTP requests
2 * This module can match using string match or regular expressions
3 * Originally designed for use with Gargoyle router firmware (gargoyle-router.com)
6 * Copyright © 2008-2010 by Eric Bishop <eric@gargoyle-router.com>
7 *
8 * This file is free software: you may copy, redistribute and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation, either version 2 of the License, or (at your
11 * option) any later version.
13 * This file is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
25 #ifndef _XT_WEBMON_H
26 #define _XT_WEBMON_H
29 #define WEBMON_MAXDOMAIN 4
30 #define WEBMON_MAXSEARCH 8
32 #define WEBMON_DOMAIN 16
33 #define WEBMON_SEARCH 32
36 #define WEBMON_SET 3064
38 struct xt_webmon_info
40 uint32_t max_domains;
41 uint32_t max_searches;
42 uint32_t* ref_count;
45 #endif /*_XT_WEBMON_H*/