Commit d7619e10 authored by Daniele Lacamera's avatar Daniele Lacamera

IPv6: More __packed attributes for ARM-RVCT Compiler

parent 46ff5559
......@@ -49,23 +49,23 @@ PACKED_STRUCT_DEF pico_ipv6_exthdr {
uint8_t nxthdr;
PACKED_UNION_DEF ipv6_ext_u {
struct {
PEDANTIC_STRUCT_DEF hopbyhop_s {
uint8_t len;
uint8_t options[0];
} hopbyhop;
struct {
PEDANTIC_STRUCT_DEF destopt_s {
uint8_t len;
uint8_t options[0];
} destopt;
struct {
PEDANTIC_STRUCT_DEF routing_s {
uint8_t len;
uint8_t routtype;
uint8_t segleft;
} routing;
struct {
PEDANTIC_STRUCT_DEF fragm_s {
uint8_t res;
uint8_t frm[2];
uint8_t id[4];
......
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