aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-01-20 22:05:18 +0200
committerAdrian Bunk <bunk@kernel.org>2008-01-20 22:05:18 +0200
commit9160766b83a51267e3cd2987ed3c2690e3d059f9 (patch)
tree85cb0fd702f7b7383dec03c958ba3db0e4be6f99 /include
parentfdd75e9bc2cb0a54bd435645dc7e8522b1c6a945 (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: Adrian Bunk <bunk@kernel.org>
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 54ae2d59e71..8803298898e 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;