diff --git a/include/net/eth.h b/include/net/eth.h index 14c34f530f..63f598d7cd 100644 --- a/include/net/eth.h +++ b/include/net/eth.h @@ -39,7 +39,7 @@ struct eth_header { uint8_t h_dest[ETH_ALEN]; /* destination eth addr */ uint8_t h_source[ETH_ALEN]; /* source ether addr */ uint16_t h_proto; /* packet type ID field */ -}; +} QEMU_PACKED; struct vlan_header { uint16_t h_tci; /* priority and VLAN ID */