aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/rpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/linux/rpl.h')
-rw-r--r--linux-headers/include/linux/rpl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux-headers/include/linux/rpl.h b/linux-headers/include/linux/rpl.h
index c24b64c..42580b3 100644
--- a/linux-headers/include/linux/rpl.h
+++ b/linux-headers/include/linux/rpl.h
@@ -28,17 +28,17 @@ struct ipv6_rpl_sr_hdr {
pad:4,
reserved1:16;
#elif defined(__BIG_ENDIAN_BITFIELD)
- __u32 reserved:20,
+ __u32 cmpri:4,
+ cmpre:4,
pad:4,
- cmpri:4,
- cmpre:4;
+ reserved:20;
#else
#error "Please fix <asm/byteorder.h>"
#endif
union {
- struct in6_addr addr[0];
- __u8 data[0];
+ __DECLARE_FLEX_ARRAY(struct in6_addr, addr);
+ __DECLARE_FLEX_ARRAY(__u8, data);
} segments;
} __attribute__((packed));