lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] Struct packing/alignment problems


From: K.J. Mansley
Subject: RE: [lwip-users] Struct packing/alignment problems
Date: 05 May 2004 17:40:30 +0100

On Wed, 2004-05-05 at 16:33, Mountifield, Tony wrote:
> Hi All
> 
> I don't have a strong opinion one way or the other about removing the packing 
> macros, but I wanted to reply to one point:
> 
> > The macros will have to remain in the code for the Ethernet
> > ARP header, if I understand that correctly, so it really
> > isn't worth worrying about.
> 
> This is no longer correct. Since the sipaddr and dipaddr fields were changed 
> from struct ip_addr to struct ip_addr2, they now only have 16-bit alignment 
> requirements (this is why they were changed) ...

Ahh, OK - I'd missed that change.  Apologies.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]