lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] wrong statement in lwip wiki pageabout structurepacking


From: Stephane Lesage
Subject: Re: [lwip-users] wrong statement in lwip wiki pageabout structurepacking
Date: Wed, 29 Aug 2012 13:10:40 +0200


> > "In any case, make sure the system runs stable when chosing a
> > structure packing setting different to 1!"
> > [..]
> > And I guarantee you it's working, so I hold to my statement for
> > IP/UDP/TCP.
> > Of course higher application protocols may need packing (for example
> > netbios)
> 
> Now that is not included in the wiki: it only says "IP headers and
> higher layers are 4 bytes aligned and you may not need packing". This
> is indeed a bit misleading, as you will need to verify the correct
> header field alignment for all protocols used, not only for IP, UDP
and
> TCP.

The context is LwIP, so higher layers refers only to the stack and not
application protocols.

AFAIK, IP/UDP/TCP/ICMP/IGMP and DNS are fine.
Netbios is contrib and needs packing.

But you're right, this is not perfectly clear. We need to improve the
wiki.

-- 
Stephane Lesage




reply via email to

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