lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] Small bug in lwIP 0.5.3 with PACK_STRUCT_xxx


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] Small bug in lwIP 0.5.3 with PACK_STRUCT_xxx
Date: Wed, 08 Jan 2003 23:11:23 -0000

On Friday 05 April 2002 15.37, Konrad, Guido wrote:
> Compiling the code 0.5.3 I've found that there are missing
> PACK_STRUCT_BEGIN and PACK_STRUCT_END identifiers for the following
> structures:
> eth_hdr, eth_addr, ip_hdr, tcp_hdr, icmp_echo_hdr, icmp_dur_hdr,
> icmp_te_hdr.

Thanks!

> For convenience I would appreciate a small modification: My ARM compiler
> (ARM Developer Suite 1.1) generates an error if packed structure pointers
> are casted implicitly to (void*). So what I must do is to cast every
> pointer explicitly to (void*), e.g.   "p->payload = (void*)iphdr;" or
> "if(inet_chksum((void*)iphdr, hl * 4).. ". Is it possible for some of the
> next releases to put these castings in the code. It would be no problem for
> me to send all the occurences.

Of course, please send me a list of those and I'll fix it.

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam

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




reply via email to

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