xref: /utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/netfilter/xt_string.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1 #ifndef _XT_STRING_H
2 #define _XT_STRING_H
3 
4 #define XT_STRING_MAX_PATTERN_SIZE 128
5 #define XT_STRING_MAX_ALGO_NAME_SIZE 16
6 
7 struct xt_string_info
8 {
9 	u_int16_t from_offset;
10 	u_int16_t to_offset;
11 	char	  algo[XT_STRING_MAX_ALGO_NAME_SIZE];
12 	char 	  pattern[XT_STRING_MAX_PATTERN_SIZE];
13 	u_int8_t  patlen;
14 	u_int8_t  invert;
15 
16 	/* Used internally by the kernel */
17 	struct ts_config __attribute__((aligned(8))) *config;
18 };
19 
20 #endif /*_XT_STRING_H*/
21