]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NET]: Introduce types for checksums.
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:14:18 +0000 (21:14 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:00 +0000 (21:23 -0800)
New types - for 16bit checksums and "unfolded" 32bit variant.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/types.h

index 9f11fdd2bd72868f122d04b508189f2b9d514481..745c409ebbb534294b250b1735da43e2dbc6f755 100644 (file)
@@ -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;