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_MASK = XT_CT_NOTRACK | XT_CT_NOTRACK_ALIAS, 10 }; 11 12 struct xt_ct_target_info { 13 __u16 flags; 14 __u16 zone; 15 __u32 ct_events; 16 __u32 exp_events; 17 char helper[16]; 18 19 /* Used internally by the kernel */ 20 struct nf_conn *ct __attribute__((aligned(8))); 21 }; 22 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 35 #endif /* _XT_CT_H */ 36