Commit 22cb5166 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Patrick McHardy

netfilter: correct CHECKSUM header and export it

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent edf0e1fb
...@@ -3,6 +3,7 @@ header-y += nf_conntrack_tuple_common.h ...@@ -3,6 +3,7 @@ header-y += nf_conntrack_tuple_common.h
header-y += nfnetlink_conntrack.h header-y += nfnetlink_conntrack.h
header-y += nfnetlink_log.h header-y += nfnetlink_log.h
header-y += nfnetlink_queue.h header-y += nfnetlink_queue.h
header-y += xt_CHECKSUM.h
header-y += xt_CLASSIFY.h header-y += xt_CLASSIFY.h
header-y += xt_CONNMARK.h header-y += xt_CONNMARK.h
header-y += xt_CONNSECMARK.h header-y += xt_CONNSECMARK.h
......
...@@ -6,8 +6,10 @@ ...@@ -6,8 +6,10 @@
* *
* This software is distributed under GNU GPL v2, 1991 * This software is distributed under GNU GPL v2, 1991
*/ */
#ifndef _IPT_CHECKSUM_TARGET_H #ifndef _XT_CHECKSUM_TARGET_H
#define _IPT_CHECKSUM_TARGET_H #define _XT_CHECKSUM_TARGET_H
#include <linux/types.h>
#define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */ #define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */
...@@ -15,4 +17,4 @@ struct xt_CHECKSUM_info { ...@@ -15,4 +17,4 @@ struct xt_CHECKSUM_info {
__u8 operation; /* bitset of operations */ __u8 operation; /* bitset of operations */
}; };
#endif /* _IPT_CHECKSUM_TARGET_H */ #endif /* _XT_CHECKSUM_TARGET_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment