summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_CT.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-03-08 13:57:24 +0100
committerPatrick McHardy <kaber@trash.net>2010-03-08 13:57:24 +0100
commit9fdbaa71452edaac9d5906716c15937f670341fa (patch)
tree521112d85dbded7df6cad7a66205551d9be5be6a /include/linux/netfilter/xt_CT.h
parentcf7e42ffbb624c27591f6d55606bdccd358c7785 (diff)
extensions: add CT extension
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter/xt_CT.h')
-rw-r--r--include/linux/netfilter/xt_CT.h17
1 files changed, 17 insertions, 0 deletions
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 */