mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-30 15:15:05 +00:00
Update snd_queuelen comment documentation
This commit updates the snd_queuelen comment documentation to reflect that snd_queuelen tracks the number of pbufs currently in the send buffer (unsent + unacked queues) rather than the number of pbufs available in the buffer (which was what previous comment implied)
This commit is contained in:
parent
affc6d61ca
commit
1ef913cd36
@ -252,7 +252,7 @@ struct tcp_pcb {
|
||||
|
||||
tcpwnd_size_t snd_buf; /* Available buffer space for sending (in bytes). */
|
||||
#define TCP_SNDQUEUELEN_OVERFLOW (0xffffU-3)
|
||||
u16_t snd_queuelen; /* Available buffer space for sending (in pbufs). */
|
||||
u16_t snd_queuelen; /* Number of pbufs currently in the send buffer. */
|
||||
|
||||
#if TCP_OVERSIZE
|
||||
/* Extra bytes available at the end of the last pbuf in unsent. */
|
||||
|
Loading…
Reference in New Issue
Block a user