452005ff0e9e4ab659f01a1e88218678b63bb9b3
[deliverable/linux.git] / include / uapi / linux / netfilter / xt_CT.h
1 #ifndef _XT_CT_H
2 #define _XT_CT_H
3
4 #include <linux/types.h>
5
6 enum {
7 XT_CT_NOTRACK = 1 << 0,
8 XT_CT_NOTRACK_ALIAS = 1 << 1,
9 XT_CT_ZONE_DIR_ORIG = 1 << 2,
10 XT_CT_ZONE_DIR_REPL = 1 << 3,
11
12 XT_CT_MASK = XT_CT_NOTRACK | XT_CT_NOTRACK_ALIAS |
13 XT_CT_ZONE_DIR_ORIG | XT_CT_ZONE_DIR_REPL,
14 };
15
16 struct xt_ct_target_info {
17 __u16 flags;
18 __u16 zone;
19 __u32 ct_events;
20 __u32 exp_events;
21 char helper[16];
22
23 /* Used internally by the kernel */
24 struct nf_conn *ct __attribute__((aligned(8)));
25 };
26
27 struct xt_ct_target_info_v1 {
28 __u16 flags;
29 __u16 zone;
30 __u32 ct_events;
31 __u32 exp_events;
32 char helper[16];
33 char timeout[32];
34
35 /* Used internally by the kernel */
36 struct nf_conn *ct __attribute__((aligned(8)));
37 };
38
39 #endif /* _XT_CT_H */
This page took 0.031275 seconds and 4 git commands to generate.