[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] udp checksum
From: |
Adam Dunkels |
Subject: |
[lwip-users] Re: [lwip] udp checksum |
Date: |
Wed, 08 Jan 2003 23:51:42 -0000 |
Hi Taco!
On Monday 11 March 2002 17.05, you wrote:
> Hello, between version 0.50 and 0.51 and difference is mentioned regarding
> udp checksum calculations. Although some variable names are different, the
> coding for these calculations in inet.c function inet_chksum_pseudo is
> exactly the same. So which bug was solved in 0.5.1. and where / which file
> was it?
The problem was in the udp.c file and had to do with the order in which stuff
was checked. Because the IP header wasn't stripped before the checksum was
calculated, the packet length was wrong.
/adam
--
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] Re: [lwip] udp checksum,
Adam Dunkels <=