lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] AW: [lwip] Problems with struct member aligment within lwIP


From: Konrad, Guido
Subject: [lwip-users] AW: [lwip] Problems with struct member aligment within lwIP
Date: Wed, 08 Jan 2003 23:47:57 -0000

I am using an ATMEL AT91M55800A with CS8900A. Development enviroment is ADS
1.1 from ARM with MultiICE debugger. To test connections etc. I am using a
PC with windows 2000 and opera browser.

Guido

-----Ursprüngliche Nachricht-----
Von: Deepu Chandy Thomas [mailto:address@hidden
Gesendet: Mittwoch, 30. Januar 2002 05:03
An: 'address@hidden'
Betreff: RE: [lwip] Problems with struct member aligment within lwIP 


What kind of an Ethernet infrastructure are you using now?

Deepu

-----Original Message-----
From: Konrad, Guido [mailto:address@hidden
Sent: Tuesday, January 29, 2002 10:12 PM
To: address@hidden
Subject: [lwip] Problems with struct member aligment within lwIP 


Hi,

porting lwIP to ARM7TDMI with ADS 1.1 if encounter problems with the member
alignement within structures. I've found the comment in arp.c to compile the
structure arp_hdr with __packed directive. Nevertheless it seems that some
more structures need this. Background is that the ARM compiler always
constructs structures with an aligment of 4! Only for structures preceeding
this __packed directive the alignment is 1. But this structures can not be
carsted to non packed structures, nor casted implizitly to e.g. void*.

Has anybody an answer?

Regards,

 Guido Konrad


[This message was sent through the lwip discussion list.]
[This message was sent through the lwip discussion list.]

[This message was sent through the lwip discussion list.]




reply via email to

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