summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-15 06:14:18 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:23:00 +0100
commit2bc357987a6510e61d33f3b20fa989fb2b6a10b8 (patch)
tree22f185872d0d3b5fa33c47fdbb0054e5240e5274 /include
parent[NET]: Kill direct includes of asm/checksum.h (diff)
downloadlinux-2bc357987a6510e61d33f3b20fa989fb2b6a10b8.tar.xz
linux-2bc357987a6510e61d33f3b20fa989fb2b6a10b8.zip
[NET]: Introduce types for checksums.
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index 9f11fdd2bd72..745c409ebbb5 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;