summaryrefslogtreecommitdiffstats
path: root/include/linux/dccp.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 21:24:30 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:23:26 -0800
commit9981a0e36a572e9fcf84bfab915fdc93bed0e3c9 (patch)
tree3c64dba5b233b97417f3c46135607bfc19e2182f /include/linux/dccp.h
parent56649d5d3c4cb0fe6dd34808ca9f9208d84130ab (diff)
downloadlinux-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.tar.gz
linux-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.tar.bz2
linux-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.zip
[NET]: Annotate checksums in on-the-wire packets.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dccp.h')
-rw-r--r--include/linux/dccp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h
index d308f1228b61..72cc355d7a03 100644
--- a/include/linux/dccp.h
+++ b/include/linux/dccp.h
@@ -30,7 +30,7 @@ struct dccp_hdr {
#else
#error "Adjust your <asm/byteorder.h> defines"
#endif
- __u16 dccph_checksum;
+ __sum16 dccph_checksum;
#if defined(__LITTLE_ENDIAN_BITFIELD)
__u8 dccph_x:1,
dccph_type:4,