lwip-devel
[Top][All Lists]
Advanced

[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:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

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:

  <http://savannah.nongnu.org/bugs/?3031>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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