projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dddc93c
)
[IPV4]: ports in struct inet_sock are net-endian
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:33:05 +0000
(18:33 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:06 +0000
(18:02 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_sock.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/inet_sock.h
b/include/net/inet_sock.h
index 3c19dbf302114ea0cc4cb66522309368e0614243..7a1f69f012695f63aec66d24dc8b4f6ce08da8d9 100644
(file)
--- 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;