aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 21:33:05 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 21:02:06 -0400
commit2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (patch)
tree31a4669c50d29270a8a4c0e3ae2010329893ba06
parentdddc93c05d7dba60b44866486502c155e96ab915 (diff)
[IPV4]: ports in struct inet_sock are net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/inet_sock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index 3c19dbf30211..7a1f69f01269 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -112,13 +112,13 @@ struct inet_sock {
112 /* Socket demultiplex comparisons on incoming packets. */ 112 /* Socket demultiplex comparisons on incoming packets. */
113 __be32 daddr; 113 __be32 daddr;
114 __be32 rcv_saddr; 114 __be32 rcv_saddr;
115 __u16 dport; 115 __be16 dport;
116 __u16 num; 116 __u16 num;
117 __be32 saddr; 117 __be32 saddr;
118 __s16 uc_ttl; 118 __s16 uc_ttl;
119 __u16 cmsg_flags; 119 __u16 cmsg_flags;
120 struct ip_options *opt; 120 struct ip_options *opt;
121 __u16 sport; 121 __be16 sport;
122 __u16 id; 122 __u16 id;
123 __u8 tos; 123 __u8 tos;
124 __u8 mc_ttl; 124 __u8 mc_ttl;