aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 21:14:18 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:23:00 -0800
commit2bc357987a6510e61d33f3b20fa989fb2b6a10b8 (patch)
tree22f185872d0d3b5fa33c47fdbb0054e5240e5274
parent3277c39f8d706afb6fefc02f49563a73bbd405b9 (diff)
[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>
-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 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;