Commit 22cb516696304a9b85892b18c483a27d97cfa51b
Committed by
Patrick McHardy
1 parent
edf0e1fb0d
Exists in
master
and in
7 other branches
netfilter: correct CHECKSUM header and export it
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Showing 2 changed files with 6 additions and 3 deletions Side-by-side Diff
include/linux/netfilter/Kbuild
include/linux/netfilter/xt_CHECKSUM.h
... | ... | @@ -6,14 +6,16 @@ |
6 | 6 | * |
7 | 7 | * This software is distributed under GNU GPL v2, 1991 |
8 | 8 | */ |
9 | -#ifndef _IPT_CHECKSUM_TARGET_H | |
10 | -#define _IPT_CHECKSUM_TARGET_H | |
9 | +#ifndef _XT_CHECKSUM_TARGET_H | |
10 | +#define _XT_CHECKSUM_TARGET_H | |
11 | 11 | |
12 | +#include <linux/types.h> | |
13 | + | |
12 | 14 | #define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */ |
13 | 15 | |
14 | 16 | struct xt_CHECKSUM_info { |
15 | 17 | __u8 operation; /* bitset of operations */ |
16 | 18 | }; |
17 | 19 | |
18 | -#endif /* _IPT_CHECKSUM_TARGET_H */ | |
20 | +#endif /* _XT_CHECKSUM_TARGET_H */ |