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?