aboutsummaryrefslogtreecommitdiff
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
parent6b72977bd6c6fefc6497d4f0275079f539eaf0ac (diff)
[IPV4]: UDP header annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 90223f057d5..014b41d1e30 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 */