diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-15 00:14:18 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:23:00 -0500 |
commit | 2bc357987a6510e61d33f3b20fa989fb2b6a10b8 (patch) | |
tree | 22f185872d0d3b5fa33c47fdbb0054e5240e5274 /include | |
parent | 3277c39f8d706afb6fefc02f49563a73bbd405b9 (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')
-rw-r--r-- | include/linux/types.h | 2 |
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; | |||
182 | typedef __u64 __bitwise __le64; | 182 | typedef __u64 __bitwise __le64; |
183 | typedef __u64 __bitwise __be64; | 183 | typedef __u64 __bitwise __be64; |
184 | #endif | 184 | #endif |
185 | typedef __u16 __bitwise __sum16; | ||
186 | typedef __u32 __bitwise __wsum; | ||
185 | 187 | ||
186 | #ifdef __KERNEL__ | 188 | #ifdef __KERNEL__ |
187 | typedef unsigned __bitwise__ gfp_t; | 189 | typedef unsigned __bitwise__ gfp_t; |