diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-16 11:36:50 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:23:39 +0100 |
commit | f6ab028804bdc580fe0915494dbf31f5ea473ca7 (patch) | |
tree | 4bf0fedcfaab7103682bc6209f196104fa9df8fb /include/net/checksum.h | |
parent | [NET]: Annotate __skb_checksum_complete() and friends. (diff) | |
download | linux-f6ab028804bdc580fe0915494dbf31f5ea473ca7.tar.xz linux-f6ab028804bdc580fe0915494dbf31f5ea473ca7.zip |
[NET]: Make mangling a checksum (0 -> 0xffff on the wire) explicit.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/checksum.h')
-rw-r--r-- | include/net/checksum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/checksum.h b/include/net/checksum.h index 2b3c8dc6c11d..124246172a88 100644 --- a/include/net/checksum.h +++ b/include/net/checksum.h @@ -92,4 +92,5 @@ static inline __wsum csum_unfold(__sum16 n) return (__force __wsum)n; } +#define CSUM_MANGLED_0 ((__force __sum16)0xffff) #endif |