KVM: Maintain back mapping from irqchip/pin to gsi
[deliverable/linux.git] / include / linux / netfilter / xt_string.h
1 #ifndef _XT_STRING_H
2 #define _XT_STRING_H
3
4 #include <linux/types.h>
5
6 #define XT_STRING_MAX_PATTERN_SIZE 128
7 #define XT_STRING_MAX_ALGO_NAME_SIZE 16
8
9 enum {
10 XT_STRING_FLAG_INVERT = 0x01,
11 XT_STRING_FLAG_IGNORECASE = 0x02
12 };
13
14 struct xt_string_info
15 {
16 __u16 from_offset;
17 __u16 to_offset;
18 char algo[XT_STRING_MAX_ALGO_NAME_SIZE];
19 char pattern[XT_STRING_MAX_PATTERN_SIZE];
20 __u8 patlen;
21 union {
22 struct {
23 __u8 invert;
24 } v0;
25
26 struct {
27 __u8 flags;
28 } v1;
29 } u;
30
31 /* Used internally by the kernel */
32 struct ts_config __attribute__((aligned(8))) *config;
33 };
34
35 #endif /*_XT_STRING_H*/
This page took 0.031802 seconds and 5 git commands to generate.