From: Al Viro Date: Sun, 20 Jan 2008 20:05:18 +0000 (+0200) Subject: [NET]: Introduce types for checksums. X-Git-Tag: v2.6.16.60-rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9160766b83a51267e3cd2987ed3c2690e3d059f9;p=thirdparty%2Fkernel%2Fstable.git [NET]: Introduce types for checksums. New types - for 16bit checksums and "unfolded" 32bit variant. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk --- diff --git a/include/linux/types.h b/include/linux/types.h index 54ae2d59e71bc..8803298898e86 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -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;