Home
last modified time | relevance | path

Searched refs:snd_queuelen (Results 1 – 5 of 5) sorted by relevance

/lib/liblwip/src/core/
Dtcp_out.c315 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_write: queuelen: %"U16_F"\n", (u16_t)pcb->snd_queuelen)); in tcp_write_checks()
320 if ((pcb->snd_queuelen >= TCP_SND_QUEUELEN) || (pcb->snd_queuelen > TCP_SNDQUEUELEN_OVERFLOW)) { in tcp_write_checks()
322 pcb->snd_queuelen, TCP_SND_QUEUELEN)); in tcp_write_checks()
327 if (pcb->snd_queuelen != 0) { in tcp_write_checks()
389 queuelen = pcb->snd_queuelen; in tcp_write()
678 pcb->snd_queuelen = queuelen; in tcp_write()
681 pcb->snd_queuelen)); in tcp_write()
682 if (pcb->snd_queuelen != 0) { in tcp_write()
703 if (pcb->snd_queuelen != 0) { in tcp_write()
707 …BUGF(TCP_QLEN_DEBUG | LWIP_DBG_STATE, ("tcp_write: %"S16_F" (with mem err)\n", pcb->snd_queuelen)); in tcp_write()
[all …]
Dtcp_in.c652 LWIP_ASSERT("pcb->snd_queuelen > 0", (pcb->snd_queuelen > 0)); in tcp_process()
653 --pcb->snd_queuelen; in tcp_process()
654 …_DEBUGF(TCP_QLEN_DEBUG, ("tcp_process: SYN-SENT --queuelen %"U16_F"\n", (u16_t)pcb->snd_queuelen)); in tcp_process()
1019 … LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_receive: queuelen %"U16_F" ... ", (u16_t)pcb->snd_queuelen)); in tcp_receive()
1020 … LWIP_ASSERT("pcb->snd_queuelen >= pbuf_clen(next->p)", (pcb->snd_queuelen >= pbuf_clen(next->p))); in tcp_receive()
1026 pcb->snd_queuelen -= pbuf_clen(next->p); in tcp_receive()
1029 … LWIP_DEBUGF(TCP_QLEN_DEBUG, ("%"U16_F" (after freeing unacked)\n", (u16_t)pcb->snd_queuelen)); in tcp_receive()
1030 if (pcb->snd_queuelen != 0) { in tcp_receive()
1069 … LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_receive: queuelen %"U16_F" ... ", (u16_t)pcb->snd_queuelen)); in tcp_receive()
1070 … LWIP_ASSERT("pcb->snd_queuelen >= pbuf_clen(next->p)", (pcb->snd_queuelen >= pbuf_clen(next->p))); in tcp_receive()
[all …]
Dtcp.c1310 pcb->snd_queuelen = 0; in tcp_alloc()
/lib/liblwip/src/include/lwip/
Dtcp.h234 u16_t snd_queuelen; /* Available buffer space for sending (in tcp_segs). */ member
327 #define tcp_sndqueuelen(pcb) ((pcb)->snd_queuelen)
/lib/liblwip/
DCHANGELOG231 * tcp_impl.h: fixed bug #34355: nagle does not take snd_buf/snd_queuelen into
2282 * tcp_out.c: tcp_enqueue: pcb->snd_queuelen didn't work for chaine PBUF_RAMs:
2283 changed snd_queuelen++ to snd_queuelen += pbuf_clen(p).
2328 * tcp_out.c: Added check to prevent tcp_pcb->snd_queuelen from overflowing.