lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: IP Address Display Functions


From: Jakob Stoklund Olesen
Subject: [lwip-users] Re: IP Address Display Functions
Date: Tue, 25 Aug 2009 11:59:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Kieran Mansley <address@hidden> writes:

> On Tue, 2009-08-25 at 10:24 +0100, Kieran Mansley wrote:
> Just had a look at the CVS history.  It says: 
>
> ip_addr.h:1.27
> "Re-instantiated the pack directives. Nested structs do break individual
> field natural alignment on arm-gcc."
>
> So looks like it's there for a good reason, and should stay.  This went
> in on 6th May 2004 so there might be some of the back story in the
> mailing lists around that time.

There was definitely an issue with an unaligned ip_addr in the
etharp_hdr struct. However, that struct now uses an ip_addr2. If there
are other places containing an unaligned ip_addr, they should do the
same.

/jakob





reply via email to

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