Commit 2bc35798 authored by Al Viro's avatar Al Viro Committed by David S. Miller

[NET]: Introduce types for checksums.

New types - for 16bit checksums and "unfolded" 32bit variant.
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3277c39f
...@@ -182,6 +182,8 @@ typedef __u32 __bitwise __be32; ...@@ -182,6 +182,8 @@ typedef __u32 __bitwise __be32;
typedef __u64 __bitwise __le64; typedef __u64 __bitwise __le64;
typedef __u64 __bitwise __be64; typedef __u64 __bitwise __be64;
#endif #endif
typedef __u16 __bitwise __sum16;
typedef __u32 __bitwise __wsum;
#ifdef __KERNEL__ #ifdef __KERNEL__
typedef unsigned __bitwise__ gfp_t; typedef unsigned __bitwise__ gfp_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment