projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4350507
)
[IPV6]: sin6_port is net-endian
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:45:27 +0000
(18:45 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:31 +0000
(18:02 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/in6.h
patch
|
blob
|
history
diff --git
a/include/linux/in6.h
b/include/linux/in6.h
index
348ecd4
..
9be6a47
100644
(file)
--- a/
include/linux/in6.h
+++ b/
include/linux/in6.h
@@
-53,7
+53,7
@@
extern const struct in6_addr in6addr_loopback;
struct sockaddr_in6 {
unsigned short int sin6_family; /* AF_INET6 */
- __
u16
sin6_port; /* Transport layer port # */
+ __
be16
sin6_port; /* Transport layer port # */
__u32 sin6_flowinfo; /* IPv6 flow information */
struct in6_addr sin6_addr; /* IPv6 address */
__u32 sin6_scope_id; /* scope id (new in RFC2553) */