summaryrefslogtreecommitdiff
path: root/include/net6.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-02-03 10:27:27 -0500
committerTom Rini <trini@konsulko.com>2023-02-03 10:27:27 -0500
commitb102bfa15e9efb18104878d8a04a0092de63250c (patch)
tree1ec31a76dd16db5984331663aed37ce6f0a292ba /include/net6.h
parent9918b25d21db243352fc482671cafa10260b7887 (diff)
parent9bc80c0bc028a1658502eea02af2c1f26456c6b2 (diff)
Merge branch '2023-02-02-assorted-networking-updates'
- DSA driver for the MV88E6xxx, assorted IPv6 fixes, TFTP fix, fsl-mc cleanup coding style and fsl_ls_mdio bugfix
Diffstat (limited to 'include/net6.h')
-rw-r--r--include/net6.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net6.h b/include/net6.h
index 9b3de028e6d..2d7c5a09604 100644
--- a/include/net6.h
+++ b/include/net6.h
@@ -24,7 +24,7 @@ struct in6_addr {
#define s6_addr in6_u.u6_addr8
#define s6_addr16 in6_u.u6_addr16
#define s6_addr32 in6_u.u6_addr32
-};
+} __packed;
#define IN6ADDRSZ sizeof(struct in6_addr)
#define INETHADDRSZ sizeof(net_ethaddr)
@@ -62,7 +62,7 @@ struct ip6_hdr {
u8 hop_limit;
struct in6_addr saddr;
struct in6_addr daddr;
-};
+} __packed;
#define IP6_HDR_SIZE (sizeof(struct ip6_hdr))
/* struct udp_hdr - User Datagram Protocol header */
@@ -164,7 +164,7 @@ struct icmp6hdr {
#define icmp6_addrconf_managed icmp6_dataun.u_nd_ra.managed
#define icmp6_addrconf_other icmp6_dataun.u_nd_ra.other
#define icmp6_rt_lifetime icmp6_dataun.u_nd_ra.rt_lifetime
-};
+} __packed;
extern struct in6_addr const net_null_addr_ip6; /* NULL IPv6 address */
extern struct in6_addr net_gateway6; /* Our gateways IPv6 address */