xt_string.h revision 435483c91cf16117fc2b864cb6994435ad669bc6
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _XT_STRING_H
13#define _XT_STRING_H
14
15#define XT_STRING_MAX_PATTERN_SIZE 128
16#define XT_STRING_MAX_ALGO_NAME_SIZE 16
17
18struct xt_string_info
19{
20 u_int16_t from_offset;
21 u_int16_t to_offset;
22 char algo[XT_STRING_MAX_ALGO_NAME_SIZE];
23 char pattern[XT_STRING_MAX_PATTERN_SIZE];
24 u_int8_t patlen;
25 u_int8_t invert;
26 struct ts_config __attribute__((aligned(8))) *config;
27};
28
29#endif
30