• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 	XT_CT_ZONE_MARK		= 1 << 4,
12 };
13 
14 struct xt_ct_target_info {
15 	__u16 flags;
16 	__u16 zone;
17 	__u32 ct_events;
18 	__u32 exp_events;
19 	char helper[16];
20 
21 	/* Used internally by the kernel */
22 	struct nf_conn	*ct __attribute__((aligned(8)));
23 };
24 
25 struct xt_ct_target_info_v1 {
26 	__u16 flags;
27 	__u16 zone;
28 	__u32 ct_events;
29 	__u32 exp_events;
30 	char helper[16];
31 	char timeout[32];
32 
33 	/* Used internally by the kernel */
34 	struct nf_conn	*ct __attribute__((aligned(8)));
35 };
36 
37 #endif /* _XT_CT_H */
38