diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 18:44:54 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:02:30 -0700 |
commit | 48818f822d2b2e16f4bf4d1ed1185e7d2146dc34 (patch) | |
tree | 2dbc1c04e79f773b0805aff0da9547e857035ea1 /include/linux/in6.h | |
parent | 9f8552996d969f56039ec88128cf5ad35b12f141 (diff) | |
download | op-kernel-dev-48818f822d2b2e16f4bf4d1ed1185e7d2146dc34.zip op-kernel-dev-48818f822d2b2e16f4bf4d1ed1185e7d2146dc34.tar.gz |
[IPV6]: struct in6_addr annotations
in6_addr elements 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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h index d776829..348ecd4 100644 --- a/include/linux/in6.h +++ b/include/linux/in6.h @@ -32,8 +32,8 @@ struct in6_addr union { __u8 u6_addr8[16]; - __u16 u6_addr16[8]; - __u32 u6_addr32[4]; + __be16 u6_addr16[8]; + __be32 u6_addr32[4]; } in6_u; #define s6_addr in6_u.u6_addr8 #define s6_addr16 in6_u.u6_addr16 |