This question helped me check into the same issue I was having. Turns out
there's an option to turn on checksums in your lwipopts.h. Under checksum
options you should turn on CHECKSUM_GEN_ICMP. Also, in lwip/opt.h there is a
define LWIP_CHECKSUM_CTRL_PER_NETIF. This must be set to 1 along with all
CHECKSUM_GEN and CHECKSUM_CHECK defines. With these set your checksums
should be correct and pings will be successful.



--
View this message in context: 
http://lwip.100.n7.nabble.com/Ping-function-problem-tp27405p27419.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to