Merge master.kernel.org:/pub/scm/linux/kernel/git/chrisw/lsm-2.6
[pandora-kernel.git] / include / linux / netfilter_ipv4 / ipt_string.h
1 #ifndef _IPT_STRING_H
2 #define _IPT_STRING_H
3
4 #define IPT_STRING_MAX_PATTERN_SIZE 128
5 #define IPT_STRING_MAX_ALGO_NAME_SIZE 16
6
7 struct ipt_string_info
8 {
9         u_int16_t from_offset;
10         u_int16_t to_offset;
11         char      algo[IPT_STRING_MAX_ALGO_NAME_SIZE];
12         char      pattern[IPT_STRING_MAX_PATTERN_SIZE];
13         u_int8_t  patlen;
14         u_int8_t  invert;
15         struct ts_config __attribute__((aligned(8))) *config;
16 };
17
18 #endif /*_IPT_STRING_H*/