From: Patrick McHardy Date: Thu, 15 Jul 2010 16:12:49 +0000 (+0200) Subject: extensions: fix compilation of the new CHECKSUM target X-Git-Tag: v1.4.10~7^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0bcda81f5f6d121084131fb944e2940f614cc98c;p=thirdparty%2Fiptables.git extensions: fix compilation of the new CHECKSUM target Add missing header file. Signed-off-by: Patrick McHardy --- 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 */