summaryrefslogtreecommitdiff
path: root/include/linux/udp.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:37:19 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:16 -0700
commit4e7e0c7592cafe5453e5b2f115fc0065d11b3d44 (patch)
treeeca3be8dede072c4337143295734064069b8c13b /include/linux/udp.h
parent6b72977bd6c6fefc6497d4f0275079f539eaf0ac (diff)
downloadlwn-4e7e0c7592cafe5453e5b2f115fc0065d11b3d44.tar.gz
lwn-4e7e0c7592cafe5453e5b2f115fc0065d11b3d44.zip
[IPV4]: UDP header annotations
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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h
index 90223f057d50..014b41d1e308 100644
--- a/include/linux/udp.h
+++ b/include/linux/udp.h
@@ -20,10 +20,10 @@
#include <linux/types.h>
struct udphdr {
- __u16 source;
- __u16 dest;
- __u16 len;
- __u16 check;
+ __be16 source;
+ __be16 dest;
+ __be16 len;
+ __be16 check;
};
/* UDP socket options */