Commit e2e38e81 authored by Al Viro's avatar Al Viro Committed by David S. Miller

[IPV6]: sin6_port is net-endian

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 43505077
...@@ -53,7 +53,7 @@ extern const struct in6_addr in6addr_loopback; ...@@ -53,7 +53,7 @@ extern const struct in6_addr in6addr_loopback;
struct sockaddr_in6 { struct sockaddr_in6 {
unsigned short int sin6_family; /* AF_INET6 */ 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 */ __u32 sin6_flowinfo; /* IPv6 flow information */
struct in6_addr sin6_addr; /* IPv6 address */ struct in6_addr sin6_addr; /* IPv6 address */
__u32 sin6_scope_id; /* scope id (new in RFC2553) */ __u32 sin6_scope_id; /* scope id (new in RFC2553) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment