Merge commit 'origin/trunk@12184' into fedora
[iptables.git] / trunk / include / linux / netfilter / xt_connlimit.h
diff --git a/trunk/include/linux/netfilter/xt_connlimit.h b/trunk/include/linux/netfilter/xt_connlimit.h
new file mode 100644 (file)
index 0000000..90ae8b4
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef _XT_CONNLIMIT_H
+#define _XT_CONNLIMIT_H
+
+struct xt_connlimit_data;
+
+struct xt_connlimit_info {
+       union {
+               u_int32_t v4_mask;
+               u_int32_t v6_mask[4];
+       };
+       unsigned int limit, inverse;
+
+       /* this needs to be at the end */
+       struct xt_connlimit_data *data __attribute__((aligned(8)));
+};
+
+#endif /* _XT_CONNLIMIT_H */