[lwip-users] Where is poll_driver() ?

2014-04-09 Thread Alain Mouette
I am writing the driver from scratch for ENC424J600, using Microchip's low-level drivers I checkd the wiki and the file ethernetif.c and I have one (first) question: Where is the prototype for poll_driver() ?? Will it be called from LWIP in multi-threaded systems? It is mentioned in the

[lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP)

2014-04-09 Thread LMao
Hi Sylvain, I try to get IP forwarding work between two interfaces - Ethernet and PPP. So far, I can see it works in one direction, i.e., Packets from Ethernet can be forward to PPP, but it seems lwIP stack silently drop the packets in the opposite direction, i.e., from PPP to Ethernet. Can

[lwip-users] raw api tcp_write()ing small chunks fills snd_queue

2014-04-09 Thread Sergio R. Caprile
Hi, I need help here. I have this raw api application which tcp_write()s 5 small (~20 bytes) messages and then checks tcp_sndbuf() to send the biggest possible chunk, but it ends up having to send a smaller chunk because an internal queue gets full. My settings are (almost) standard: TCP_MSS =