aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-15 00:14:18 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:23:00 -0500
commit2bc357987a6510e61d33f3b20fa989fb2b6a10b8 (patch)
tree22f185872d0d3b5fa33c47fdbb0054e5240e5274 /include/linux
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>
Diffstat (limited to 'include/linux')
-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;
182typedef __u64 __bitwise __le64; 182typedef __u64 __bitwise __le64;
183typedef __u64 __bitwise __be64; 183typedef __u64 __bitwise __be64;
184#endif 184#endif
185typedef __u16 __bitwise __sum16;
186typedef __u32 __bitwise __wsum;
185 187
186#ifdef __KERNEL__ 188#ifdef __KERNEL__
187typedef unsigned __bitwise__ gfp_t; 189typedef unsigned __bitwise__ gfp_t;