From 9160766b83a51267e3cd2987ed3c2690e3d059f9 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 20 Jan 2008 22:05:18 +0200 Subject: [PATCH] [NET]: Introduce types for checksums. New types - for 16bit checksums and "unfolded" 32bit variant. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk --- include/linux/types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/types.h b/include/linux/types.h index 54ae2d59e71b..8803298898e8 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; -- 2.39.5