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

2012-08-29 Thread jblackarty
I think we must define a term for "lwip context packing" :) That phrase on wiki may be corrected to "you may not need whole structure alignment" instead of "you may not need packing", because structure packing is mostly refer to structure members packing (removing pads) which is essential for lwip.

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

2012-08-29 Thread Pomeroy, Marty
It seems to me that it would be best to delete the paragraph in question from the wiki page. The paragraphs that follow it provide the general explanation. Users *must* figure this out for their system, and there is no truly "common case". Marty __

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

2012-08-29 Thread Simon Goldschmidt
"Stephane Lesage" wrote: > I am the author. > And somebody (Simon I think) added: I think I remember something like that :-) > "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 stat

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

2012-08-29 Thread Stephane Lesage
> > Whoever wrote that (I'm too lazy to check the wiki history right > > now) thought (or maybe even checked) that inside protocol headers, > all > > members are aligned, so when the start of a protocol header is > > aligned, you wouldn't need packing. > > Structure alignment and packing of intern