lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Re: Checksum calculations


From: Frédéric BERNON
Subject: Re: [lwip-users] Re: Checksum calculations
Date: Wed, 23 Jan 2008 19:56:10 +0100

Be careful with some network sniffer, like ethereal/wireshark: sometimes, if the capture is done from a pc with checksum offload features, you could see checksums errors which are not real. How do you do your capture ?
----- Original Message -----
Sent: Wednesday, January 23, 2008 7:26 PM
Subject: [lwip-users] Re: Checksum calculations

Hello!
I am porting some network applications from Linux to lwIP stack. So far the progress has been good, but while some stress tests I often see checksum errors being reported by the network sniffer. The ethernet chip does not have any checksum generation support, and so we rely on the software algorithms available inside lwIP library. Have you guys seen such a problem before? Endianness on the system is little-endian, but I believe the algorithm already takes care of that.

Also I don't quite follow the need for check on len being odd and swapping the acc inside inet_chksum_pseudo (and similar) functions. I think that's already taken care off in lwip_standard_chksum functions. Any thoughts on this?

Regards,
Sourath


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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