[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Bug in Checksum implementation and ARP fix
From: |
Kenneth Porter |
Subject: |
Re: [lwip-devel] Bug in Checksum implementation and ARP fix |
Date: |
Thu, 30 Oct 2003 13:46:29 -0800 |
--On Thursday, October 30, 2003 8:34 AM +0200 Atte Kojo
<address@hidden> wrote:
> My solution to this is to define all struct members as u8_t arrays and
> use macros that pack/unpack the desired values to and from 16/32 bits.
This is really the core of the problem. One can't assume that one can convert
between a byte stream and native types using casts. Alignment requirements,
endianness, and native CPU word size all interfere with that assumption.
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, (continued)
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Kenneth Porter, 2003/10/22
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Kieran Mansley, 2003/10/23
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Kenneth Porter, 2003/10/24
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Leon Woestenberg, 2003/10/24
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, David Vrabel, 2003/10/24
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Atte Kojo, 2003/10/30
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix,
Kenneth Porter <=
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Leon Woestenberg, 2003/10/22
- Re: [lwip-devel] Bug in Checksum implementation and ARP fix, Kenneth Porter, 2003/10/22