summaryrefslogtreecommitdiff
path: root/include/linux/in6.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-08 00:25:17 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:21:21 -0800
commit90bcaf7b4a33bb9b100cc06869f0c033a870d4a0 (patch)
treefb8307b99fd9779d17fdfb0c35d836a8438d424a /include/linux/in6.h
parent92d9ece7af9c84bfbd1ff640926fac5b573a09f7 (diff)
downloadlinux-3.10-90bcaf7b4a33bb9b100cc06869f0c033a870d4a0.tar.gz
linux-3.10-90bcaf7b4a33bb9b100cc06869f0c033a870d4a0.tar.bz2
linux-3.10-90bcaf7b4a33bb9b100cc06869f0c033a870d4a0.zip
[IPV6]: flowlabels 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/linux/in6.h')
-rw-r--r--include/linux/in6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h
index f28621f638e..4e8350ae886 100644
--- a/include/linux/in6.h
+++ b/include/linux/in6.h
@@ -54,7 +54,7 @@ extern const struct in6_addr in6addr_loopback;
struct sockaddr_in6 {
unsigned short int sin6_family; /* AF_INET6 */
__be16 sin6_port; /* Transport layer port # */
- __u32 sin6_flowinfo; /* IPv6 flow information */
+ __be32 sin6_flowinfo; /* IPv6 flow information */
struct in6_addr sin6_addr; /* IPv6 address */
__u32 sin6_scope_id; /* scope id (new in RFC2553) */
};
@@ -72,7 +72,7 @@ struct ipv6_mreq {
struct in6_flowlabel_req
{
struct in6_addr flr_dst;
- __u32 flr_label;
+ __be32 flr_label;
__u8 flr_action;
__u8 flr_share;
__u16 flr_flags;