|
From: | Bernhard 'Gustl' Bauer |
Subject: | Re: [lwip-users] pbuf chain and packet queue |
Date: | Wed, 27 Jan 2010 16:15:20 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Simon Goldschmidt schrieb:
It might be a hybrid: A pbuf chain made up of multiple packets. If enabled, lwIP queues out-of-sequence packets and chains the pbufs together passing them to your application as one when the data gets in-sequence due to missing packets being received. So if you have the OOSEQ code turned on, your application must still handle pbuf chains correctly even if your netif driver doesn't create them.
OOSEQ is turned on.I have a few questions that will help me to understand chaining of pbufs better:
Is tot_len always equal the size of all chained pbufs from this pbuf to the end?
Is it correct that splitting one packet on several pbufs can only be done by the CS8900 driver?
Is there a need to treat a packet queue different than a pbuf chain (of one packet)?
Thanks Gustl
[Prev in Thread] | Current Thread | [Next in Thread] |