Re: [lwip-users] TCP keeps re-transmitting but no ACK packet after SYN, SYN+ACK

2015-04-06 Thread Mohsin
goldsi...@gmx.de wrote 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 Thank you so much Simon. I added above line in my lwipopts.h and it solved the IP checksum error. (isn't it a

Re: [lwip-users] TCP keeps re-transmitting but no ACK packet after SYN, SYN+ACK

2015-04-06 Thread goldsi...@gmx.de
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

Re: [lwip-users] Local ping

2015-04-06 Thread Sergio R. Caprile
Ola Norberto, - VM´s network configured as NAT Network Sorry, I don't know what that is, assuming your virtual machines + network are properly configured, it doesn't matter wether they are virtual or real, they are machines in one or many networks and can be pinged if routed and not firewalled.

Re: [lwip-users] TCP keeps re-transmitting but no ACK packet after SYN, SYN+ACK

2015-04-06 Thread Sergio R. Caprile
If IP checksums come out as 0x when you set them in lwIP for hardware calculation, that means your system seems to be correctly configured for that, lwIP sends 0x and the link-layer driver is doing nothing (or at least it is not setting any bits...). OK, so your IP checksums are