[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwIP - Problem with packets
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] lwIP - Problem with packets |
Date: |
Wed, 05 Nov 2008 08:53:29 +0000 |
On Tue, 2008-11-04 at 18:30 +0000, Stanko Nedic wrote:
> Any ideas would be highly appreciated, I'm running out of ideas if the
> above doesn't help.
The only other thought is that structure packing isn't working properly
for you. To ensure that all the header fields are correctly positioned
we try to force the compiler to pack structures and not put padding in
between fields to align them to their "natural" boundary. If your
compiler wasn't doing this properly, or the port you're using hasn't set
up the PACK_STRUCT... macros properly, this might explain fields being
offset.
Kieran