MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / linux / netfilter_ipv4 / ipt_layer7.h
blob582d7f30d735034d7b3ae48119b5e7932e4ca495
1 /*
2 By Matthew Strait <quadong@users.sf.net>, Dec 2003.
3 http://l7-filter.sf.net
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version
8 2 of the License, or (at your option) any later version.
9 http://www.gnu.org/licenses/gpl.txt
12 #ifndef _IPT_LAYER7_H
13 #define _IPT_LAYER7_H
15 #define MAX_PATTERN_LEN 8192
16 #define MAX_PROTOCOL_LEN 256
18 typedef char *(*proc_ipt_search) (char *, char, char *);
20 struct ipt_layer7_info {
21 char protocol[MAX_PROTOCOL_LEN];
22 char invert:1;
23 char pattern[MAX_PATTERN_LEN];
26 #endif /* _IPT_LAYER7_H */