diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-15 05:14:18 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 05:23:00 (GMT) |
commit | 2bc357987a6510e61d33f3b20fa989fb2b6a10b8 (patch) | |
tree | 22f185872d0d3b5fa33c47fdbb0054e5240e5274 | |
parent | 3277c39f8d706afb6fefc02f49563a73bbd405b9 (diff) | |
download | linux-fsl-qoriq-2bc357987a6510e61d33f3b20fa989fb2b6a10b8.tar.xz |
[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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 9f11fdd..745c409 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; |