Home | History | Annotate | Download | only in netfilter
      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 };
     10 
     11 struct xt_ct_target_info {
     12 	__u16 flags;
     13 	__u16 zone;
     14 	__u32 ct_events;
     15 	__u32 exp_events;
     16 	char helper[16];
     17 
     18 	/* Used internally by the kernel */
     19 	struct nf_conn	*ct __attribute__((aligned(8)));
     20 };
     21 
     22 struct xt_ct_target_info_v1 {
     23 	__u16 flags;
     24 	__u16 zone;
     25 	__u32 ct_events;
     26 	__u32 exp_events;
     27 	char helper[16];
     28 	char timeout[32];
     29 
     30 	/* Used internally by the kernel */
     31 	struct nf_conn	*ct __attribute__((aligned(8)));
     32 };
     33 
     34 #endif /* _XT_CT_H */
     35