mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 05:36:46 +08:00
change tcp_pcb->acked to be a global variable: used in one call stack only (idea by Ambroz Bizjak)
This commit is contained in:
@@ -264,8 +264,6 @@ struct tcp_pcb {
|
||||
tcpwnd_size_t snd_wnd; /* sender window */
|
||||
tcpwnd_size_t snd_wnd_max; /* the maximum sender window announced by the remote host */
|
||||
|
||||
tcpwnd_size_t acked;
|
||||
|
||||
tcpwnd_size_t snd_buf; /* Available buffer space for sending (in bytes). */
|
||||
#define TCP_SNDQUEUELEN_OVERFLOW (0xffffU-3)
|
||||
u16_t snd_queuelen; /* Number of pbufs currently in the send buffer. */
|
||||
|
||||
Reference in New Issue
Block a user