diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 18:33:05 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:02:06 -0700 |
commit | 2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (patch) | |
tree | 31a4669c50d29270a8a4c0e3ae2010329893ba06 /include/net/inet_sock.h | |
parent | dddc93c05d7dba60b44866486502c155e96ab915 (diff) | |
download | op-kernel-dev-2816e1284a2db03ad5e205bab4eacbc5f7d4f991.zip op-kernel-dev-2816e1284a2db03ad5e205bab4eacbc5f7d4f991.tar.gz |
[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>
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r-- | include/net/inet_sock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h index 3c19dbf..7a1f69f 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h @@ -112,13 +112,13 @@ struct inet_sock { /* Socket demultiplex comparisons on incoming packets. */ __be32 daddr; __be32 rcv_saddr; - __u16 dport; + __be16 dport; __u16 num; __be32 saddr; __s16 uc_ttl; __u16 cmsg_flags; struct ip_options *opt; - __u16 sport; + __be16 sport; __u16 id; __u8 tos; __u8 mc_ttl; |