[Top][All Lists]

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

[lwip-devel] [bug #3031] Implement a new fully pool-based pbuf implement

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #3031] Implement a new fully pool-based pbuf implementation.
Date: Mon, 25 Jun 2007 13:20:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070515 Firefox/

Follow-up Comment #16, bug #3031 (project lwip):

> However, i don't understand why pbuf_clen() is insufficient to count the
length of such a chain. 

Sorry, my explanation is lacking the description of where pcb->snd_queuelen
is incremented. This is done in tcp_enqueue via a simple 'queuelen++'. Of
course it's also OK to change that to 'queuelen += pbuf_clen(p)', that gives
the same result. (Maybe it's even better, the only downside would be that
it's slower.)


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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