lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] pbuf pool size / mss size in low memoryenvironmentand r


From: address@hidden
Subject: Re: [lwip-users] pbuf pool size / mss size in low memoryenvironmentand routing to slow link
Date: Thu, 03 Dec 2009 06:29:41 +0100
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

David Empson schrieb:
"Simon Goldschmidt" <address@hidden> wrote:
"Marco Jakobs" address@hidden wrote:
I'm just wondering how the PPP of LWIP is handling the pbuf's, maybe
someone can drop a line about this ...
I don't know that by heart but I think I remember the PPP code (as it is ported from sources that don't know pbufs) needs the input packets in contigouous memory and copies from PBUF_POOL to PBUF_RAM if the input packet is a linked list of pbufs (i.e. p->len != p->tot_len).

I can't see any evidence of that.
The function pppSingleBuf() does that. However, I'm not really sure how often that function is used. At least with pppoe (which I'M currently trying to get to work :), it seems to be called on every RX pbuf, though.

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]