Bill Auerbach wrote:
> 
>> Indeed. I've certainly only been working in terms of (inherently
>> preallocated) pool pbufs.
> 
> I see this is the way to go.  I'll have to see if I can figure how to
> release the ETH buffer the pbuf points to when the pbuf has been processed.

Yes I added a hook in the lwIP code in my tree for this. A proper solution
will take some discussion and isn't there now (nor will it be for 1.3.0).

As Simon said, the alternative is just to receive into static buffers and
then memcpy everything to pbufs, with the obvious space and speed hit.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


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

Reply via email to