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: 27 Apr 2004 08:53:42 +0100

On Tue, 2004-04-27 at 00:58, Timmy Brolin wrote:
> Putting 
> a 16bit pad in the very beginning of the Ethernet header is probably the 
> solution to this.

I thought we already did this (although it will be netif driver specific
I guess, so some of them might not).  Putting padding between the
ethernet and IP headers would, as you explained, be troublesome.

> >I implemented some of what needs to be done and found it fairly
> >straight-forward.
> >
> It is not that hard to patch it up to work, no. It is a little harder to 
> make it work without ugly patches such as data rearrangement and 
> decreased performance.

Yes.

Kieran





reply via email to

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