David Empson schrieb:
"Simon Goldschmidt" <[email protected]> wrote:
"Marco Jakobs" [email protected] 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


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

Reply via email to