OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3277c39
)
[NET]: Introduce types for checksums.
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:14:18 +0000
(21:14 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:00 +0000
(21:23 -0800)
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>
include/linux/types.h
patch
|
blob
|
history
diff --git
a/include/linux/types.h
b/include/linux/types.h
index
9f11fdd
..
745c409
100644
(file)
--- 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;