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

[IPV6]: annotate ipv6 mcast

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 44473a6b
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
struct mld2_grec { struct mld2_grec {
__u8 grec_type; __u8 grec_type;
__u8 grec_auxwords; __u8 grec_auxwords;
__u16 grec_nsrcs; __be16 grec_nsrcs;
struct in6_addr grec_mca; struct in6_addr grec_mca;
struct in6_addr grec_src[0]; struct in6_addr grec_src[0];
}; };
...@@ -92,8 +92,8 @@ struct mld2_report { ...@@ -92,8 +92,8 @@ struct mld2_report {
__u8 type; __u8 type;
__u8 resv1; __u8 resv1;
__u16 csum; __u16 csum;
__u16 resv2; __be16 resv2;
__u16 ngrec; __be16 ngrec;
struct mld2_grec grec[0]; struct mld2_grec grec[0];
}; };
...@@ -101,8 +101,8 @@ struct mld2_query { ...@@ -101,8 +101,8 @@ struct mld2_query {
__u8 type; __u8 type;
__u8 code; __u8 code;
__u16 csum; __u16 csum;
__u16 mrc; __be16 mrc;
__u16 resv1; __be16 resv1;
struct in6_addr mca; struct in6_addr mca;
#if defined(__LITTLE_ENDIAN_BITFIELD) #if defined(__LITTLE_ENDIAN_BITFIELD)
__u8 qrv:3, __u8 qrv:3,
...@@ -116,7 +116,7 @@ struct mld2_query { ...@@ -116,7 +116,7 @@ struct mld2_query {
#error "Please fix <asm/byteorder.h>" #error "Please fix <asm/byteorder.h>"
#endif #endif
__u8 qqic; __u8 qqic;
__u16 nsrcs; __be16 nsrcs;
struct in6_addr srcs[0]; struct in6_addr srcs[0];
}; };
......
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