Mohsin wrote:
Actually, I don't calculate IP checksums in hardware but in software
I think Sergio simply got confused by you saying "For ethernet packets, I'm claculating checksum in hardware". Now I guess you meant the CRC with that?
Still I'm unable to find the cause of IP checksum error in my implementation
Try setting adding the line "#define LWIP_INLINE_IP_CHKSUM 0" to your lwipopts.h. Maybe there's something wrong with the checksum-inlining code on your CPU (isn't it a 16-bit one?)...
Simon _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users