|
From: | address@hidden |
Subject: | Re: [lwip-devel] lwIP + SLIP/PPP single threaded |
Date: | Mon, 08 Dec 2008 18:39:04 +0100 |
User-agent: | Thunderbird 2.0.0.18 (Macintosh/20081105) |
Simon Kallweit wrote:
SLIP needs to be changed, so that slipif_input() assumes non-blocking reads on the serial io and returns when no more data can be read. This can be done rather easily.Exactly. After all, for lwIP, SLIP is only another netif and the current implementation happens to be blocking...
PPP would need to be changed in a similar fashion, making it non-blocking, and in addition provide a separate timeout implementation.I wouldn't know exactly since I didn't yet _use_ lwIP PPP (only browsed through the source code deciding not to try it :), but isn't the existing timeout management of lwIP enough for PPP, too?
I'm afraid I don't understand that question? Is pppd (I assume you mean the *nix one) mentioned there somewhere? I'd guess it could be used against any version of pppd as long as you run that with the correct settings (which can get quite complicated).I was wondering what version of pppd was used for the current lwIP ppp implementation?
You mean lwIP PPP, right? The sad answer is: no. Since none of the (4?) active developers seems to be using it, the only active development currently is coming from 'users' on lwip-devel or lwip-users sending in patches.Is it currently maintained?
I guess we'd all be happy to see someone working on lwIP PPP: any users wanting to become active developers + maintainers for this part are of course welcome!Is anyone interested in helping out?
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |