From 9fdbaa71452edaac9d5906716c15937f670341fa Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 8 Mar 2010 13:57:24 +0100 Subject: extensions: add CT extension Signed-off-by: Patrick McHardy --- include/linux/netfilter/xt_CT.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/linux/netfilter/xt_CT.h (limited to 'include/linux/netfilter/xt_CT.h') diff --git a/include/linux/netfilter/xt_CT.h b/include/linux/netfilter/xt_CT.h new file mode 100644 index 00000000..1b564106 --- /dev/null +++ b/include/linux/netfilter/xt_CT.h @@ -0,0 +1,17 @@ +#ifndef _XT_CT_H +#define _XT_CT_H + +#define XT_CT_NOTRACK 0x1 + +struct xt_ct_target_info { + u_int16_t flags; + u_int16_t zone; + u_int32_t ct_events; + u_int32_t exp_events; + char helper[16]; + + /* Used internally by the kernel */ + struct nf_conn *ct __attribute__((aligned(8))); +}; + +#endif /* _XT_CT_H */ -- cgit v1.2.3