Commit | Line | Data |
---|---|---|
84f3bb9a PM |
1 | #ifndef _XT_CT_H |
2 | #define _XT_CT_H | |
3 | ||
06988b06 JE |
4 | #include <linux/types.h> |
5 | ||
5474f57f PNA |
6 | enum { |
7 | XT_CT_NOTRACK = 1 << 0, | |
8 | XT_CT_NOTRACK_ALIAS = 1 << 1, | |
9 | XT_CT_MASK = XT_CT_NOTRACK | XT_CT_NOTRACK_ALIAS, | |
10 | }; | |
84f3bb9a PM |
11 | |
12 | struct xt_ct_target_info { | |
f1c72229 JE |
13 | __u16 flags; |
14 | __u16 zone; | |
15 | __u32 ct_events; | |
16 | __u32 exp_events; | |
17 | char helper[16]; | |
84f3bb9a PM |
18 | |
19 | /* Used internally by the kernel */ | |
20 | struct nf_conn *ct __attribute__((aligned(8))); | |
21 | }; | |
22 | ||
24de58f4 PNA |
23 | struct xt_ct_target_info_v1 { |
24 | __u16 flags; | |
25 | __u16 zone; | |
26 | __u32 ct_events; | |
27 | __u32 exp_events; | |
28 | char helper[16]; | |
29 | char timeout[32]; | |
30 | ||
31 | /* Used internally by the kernel */ | |
32 | struct nf_conn *ct __attribute__((aligned(8))); | |
33 | }; | |
34 | ||
84f3bb9a | 35 | #endif /* _XT_CT_H */ |