summaryrefslogtreecommitdiffstats
path: root/include/linux/udp.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/udp.h
parent56649d5d3c4cb0fe6dd34808ca9f9208d84130ab (diff)
downloadop-kernel-dev-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.zip
op-kernel-dev-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.tar.gz
[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/udp.h')
-rw-r--r--include/linux/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h
index 564f3b0..7e08c07 100644
--- a/include/linux/udp.h
+++ b/include/linux/udp.h
@@ -23,7 +23,7 @@ struct udphdr {
__be16 source;
__be16 dest;
__be16 len;
- __be16 check;
+ __sum16 check;
};
/* UDP socket options */
OpenPOWER on IntegriCloud