1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 #include <linux/types.h>
7 #define XT_STRING_MAX_PATTERN_SIZE 128
8 #define XT_STRING_MAX_ALGO_NAME_SIZE 16
11 XT_STRING_FLAG_INVERT
= 0x01,
12 XT_STRING_FLAG_IGNORECASE
= 0x02
15 struct xt_string_info
{
18 char algo
[XT_STRING_MAX_ALGO_NAME_SIZE
];
19 char pattern
[XT_STRING_MAX_PATTERN_SIZE
];
31 /* Used internally by the kernel */
32 struct ts_config
__attribute__((aligned(8))) *config
;
35 #endif /*_XT_STRING_H*/