From 0bcda81f5f6d121084131fb944e2940f614cc98c Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Thu, 15 Jul 2010 18:12:49 +0200 Subject: extensions: fix compilation of the new CHECKSUM target Add missing header file. Signed-off-by: Patrick McHardy --- include/linux/netfilter/xt_CHECKSUM.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/linux/netfilter/xt_CHECKSUM.h diff --git a/include/linux/netfilter/xt_CHECKSUM.h b/include/linux/netfilter/xt_CHECKSUM.h new file mode 100644 index 00000000..3b4fb77a --- /dev/null +++ b/include/linux/netfilter/xt_CHECKSUM.h @@ -0,0 +1,18 @@ +/* Header file for iptables ipt_CHECKSUM target + * + * (C) 2002 by Harald Welte + * (C) 2010 Red Hat Inc + * Author: Michael S. Tsirkin + * + * 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 */ -- cgit v1.2.3