]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[NET]: Introduce types for checksums.
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 20 Jan 2008 20:05:18 +0000 (22:05 +0200)
committerAdrian Bunk <bunk@kernel.org>
Sun, 20 Jan 2008 20:05:18 +0000 (22:05 +0200)
New types - for 16bit checksums and "unfolded" 32bit variant.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
include/linux/types.h

index 54ae2d59e71bcd2b34c54a099dcb6773736b2bcb..8803298898e86bd084c9cd5e0b4f14a1aad16f97 100644 (file)
@@ -171,6 +171,8 @@ typedef __u32 __bitwise __be32;
 typedef __u64 __bitwise __le64;
 typedef __u64 __bitwise __be64;
 #endif
+typedef __u16 __bitwise __sum16;
+typedef __u32 __bitwise __wsum;
 
 #ifdef __KERNEL__
 typedef unsigned __bitwise__ gfp_t;