On 29/07/2020 14:41, Deepak Ukey wrote: > +struct phy_status { > + char phy_id; > + unsigned int phy_state:4; > + unsigned int nlr:4; > + unsigned int plr:4; > + unsigned int reserved1:12; > + unsigned char port_id; > + unsigned int prts:4; > + unsigned int reserved2:20; > +} __packed; Does this work on big-endian systems? If I'm not mistaken some of these will get exchanged on BE systems.