From: Al Viro Date: Wed, 15 Nov 2006 05:14:18 +0000 (-0800) Subject: [NET]: Introduce types for checksums. X-Git-Tag: v2.6.20-rc2~6^2~13^2~352 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2bc357987a6510e61d33f3b20fa989fb2b6a10b8;p=linux-2.6-omap-h63xx.git [NET]: Introduce types for checksums. New types - for 16bit checksums and "unfolded" 32bit variant. Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/linux/types.h b/include/linux/types.h index 9f11fdd2bd7..745c409ebbb 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -182,6 +182,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;