aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-07-16 08:08:20 -0400
committerPatrick McHardy <kaber@trash.net>2010-07-16 08:08:20 -0400
commit22cb516696304a9b85892b18c483a27d97cfa51b (patch)
treeaed4918de3f3efbaef2262c991ccd3a9d2a0402e /include
parentedf0e1fb0d0910880881523cfaaabcec06a2c0d5 (diff)
netfilter: correct CHECKSUM header and export it
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/Kbuild1
-rw-r--r--include/linux/netfilter/xt_CHECKSUM.h8
2 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/netfilter/Kbuild b/include/linux/netfilter/Kbuild
index bb103f43afa0..b93b64dc9fae 100644
--- a/include/linux/netfilter/Kbuild
+++ b/include/linux/netfilter/Kbuild
@@ -3,6 +3,7 @@ header-y += nf_conntrack_tuple_common.h
3header-y += nfnetlink_conntrack.h 3header-y += nfnetlink_conntrack.h
4header-y += nfnetlink_log.h 4header-y += nfnetlink_log.h
5header-y += nfnetlink_queue.h 5header-y += nfnetlink_queue.h
6header-y += xt_CHECKSUM.h
6header-y += xt_CLASSIFY.h 7header-y += xt_CLASSIFY.h
7header-y += xt_CONNMARK.h 8header-y += xt_CONNMARK.h
8header-y += xt_CONNSECMARK.h 9header-y += xt_CONNSECMARK.h
diff --git a/include/linux/netfilter/xt_CHECKSUM.h b/include/linux/netfilter/xt_CHECKSUM.h
index 3b4fb77acef6..9a2e4661654e 100644
--- a/include/linux/netfilter/xt_CHECKSUM.h
+++ b/include/linux/netfilter/xt_CHECKSUM.h
@@ -6,8 +6,10 @@
6 * 6 *
7 * This software is distributed under GNU GPL v2, 1991 7 * This software is distributed under GNU GPL v2, 1991
8*/ 8*/
9#ifndef _IPT_CHECKSUM_TARGET_H 9#ifndef _XT_CHECKSUM_TARGET_H
10#define _IPT_CHECKSUM_TARGET_H 10#define _XT_CHECKSUM_TARGET_H
11
12#include <linux/types.h>
11 13
12#define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */ 14#define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */
13 15
@@ -15,4 +17,4 @@ struct xt_CHECKSUM_info {
15 __u8 operation; /* bitset of operations */ 17 __u8 operation; /* bitset of operations */
16}; 18};
17 19
18#endif /* _IPT_CHECKSUM_TARGET_H */ 20#endif /* _XT_CHECKSUM_TARGET_H */