netfilter: correct CHECKSUM header and export it
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 16 Jul 2010 12:08:20 +0000 (14:08 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 16 Jul 2010 12:08:20 +0000 (14:08 +0200)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/Kbuild
include/linux/netfilter/xt_CHECKSUM.h

index bb103f43afa00463a1e5c99644144f0f7f0bc243..b93b64dc9fae37d6de0cc12c0f388df9716a5405 100644 (file)
@@ -3,6 +3,7 @@ header-y += nf_conntrack_tuple_common.h
 header-y += nfnetlink_conntrack.h
 header-y += nfnetlink_log.h
 header-y += nfnetlink_queue.h
+header-y += xt_CHECKSUM.h
 header-y += xt_CLASSIFY.h
 header-y += xt_CONNMARK.h
 header-y += xt_CONNSECMARK.h
index 3b4fb77acef68cc52a995bef89a90765da2670fc..9a2e4661654ec4e915530129e9ec1ab7253ec36c 100644 (file)
@@ -6,8 +6,10 @@
  *
  * This software is distributed under GNU GPL v2, 1991
 */
-#ifndef _IPT_CHECKSUM_TARGET_H
-#define _IPT_CHECKSUM_TARGET_H
+#ifndef _XT_CHECKSUM_TARGET_H
+#define _XT_CHECKSUM_TARGET_H
+
+#include <linux/types.h>
 
 #define XT_CHECKSUM_OP_FILL    0x01    /* fill in checksum in IP header */
 
@@ -15,4 +17,4 @@ struct xt_CHECKSUM_info {
        __u8 operation; /* bitset of operations */
 };
 
-#endif /* _IPT_CHECKSUM_TARGET_H */
+#endif /* _XT_CHECKSUM_TARGET_H */