|
From: | Valery Ushakov |
Subject: | [lwip-devel] [bug #38701] TCP snd_queuelen inconsistent comments |
Date: | Wed, 10 Apr 2013 16:23:43 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 |
URL: <http://savannah.nongnu.org/bugs/?38701> Summary: TCP snd_queuelen inconsistent comments Project: lwIP - A Lightweight TCP/IP stack Submitted by: uwe Submitted on: Wed 10 Apr 2013 04:23:42 PM GMT Category: Documentation Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: git head _______________________________________________________ Details: The comment for tcp_pcb::snd_queuelen says it's in tcp_segs. The comment for TCP_SND_QUEUELEN in opt.h says it's in pbufs. Examining tcp_out.c shows that it is in pbufs - it's adjusted by pbuf_clen(). Though, even there there's a comment at the end of tcp_enqueue_flags() that says "update number of SEGMENTS on the queues". _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?38701> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |