]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: fix compilation of the new CHECKSUM target
authorPatrick McHardy <kaber@trash.net>
Thu, 15 Jul 2010 16:12:49 +0000 (18:12 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 15 Jul 2010 16:12:49 +0000 (18:12 +0200)
Add missing header file.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/xt_CHECKSUM.h [new file with mode: 0644]

diff --git a/include/linux/netfilter/xt_CHECKSUM.h b/include/linux/netfilter/xt_CHECKSUM.h
new file mode 100644 (file)
index 0000000..3b4fb77
--- /dev/null
@@ -0,0 +1,18 @@
+/* Header file for iptables ipt_CHECKSUM target
+ *
+ * (C) 2002 by Harald Welte <laforge@gnumonks.org>
+ * (C) 2010 Red Hat Inc
+ * Author: Michael S. Tsirkin <mst@redhat.com>
+ *
+ * This software is distributed under GNU GPL v2, 1991
+*/
+#ifndef _IPT_CHECKSUM_TARGET_H
+#define _IPT_CHECKSUM_TARGET_H
+
+#define XT_CHECKSUM_OP_FILL    0x01    /* fill in checksum in IP header */
+
+struct xt_CHECKSUM_info {
+       __u8 operation; /* bitset of operations */
+};
+
+#endif /* _IPT_CHECKSUM_TARGET_H */