Home
last modified time | relevance | path

Searched refs:TCP_SND_QUEUELEN (Results 1 - 7 of 7) sorted by relevance

/third_party/lwip/src/core/
H A Dinit.c157 #if (LWIP_TCP && (TCP_SND_QUEUELEN > 0xffff))
158 #error "If you want to use TCP, TCP_SND_QUEUELEN must fit in an u16_t, so, you have to reduce it in your lwipopts.h"
160 #if (LWIP_TCP && (TCP_SND_QUEUELEN < 2))
161 #error "TCP_SND_QUEUELEN must be at least 2 for no-copy TCP writes to work"
300 #if !MEMP_MEM_MALLOC && (MEMP_NUM_TCP_SEG < TCP_SND_QUEUELEN)
301 #error "lwip_sanity_check: WARNING: MEMP_NUM_TCP_SEG should be at least as big as TCP_SND_QUEUELEN. If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error."
306 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS))
307 #error "lwip_sanity_check: WARNING: TCP_SND_QUEUELEN must be at least as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work. If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error."
315 #if TCP_SNDQUEUELOWAT >= TCP_SND_QUEUELEN
316 #error "lwip_sanity_check: WARNING: TCP_SNDQUEUELOWAT must be less than TCP_SND_QUEUELEN
[all...]
H A Dtcp_out.c345 if (pcb->snd_queuelen >= LWIP_MIN(TCP_SND_QUEUELEN, (TCP_SNDQUEUELEN_OVERFLOW + 1))) { in tcp_write_checks()
347 pcb->snd_queuelen, (u16_t)TCP_SND_QUEUELEN)); in tcp_write_checks()
671 if (queuelen > LWIP_MIN(TCP_SND_QUEUELEN, TCP_SNDQUEUELEN_OVERFLOW)) { in tcp_write()
673 queuelen, (int)TCP_SND_QUEUELEN)); in tcp_write()
874 /* We should check that we don't exceed TCP_SND_QUEUELEN but we need in tcp_split_unsent_seg()
977 * exceed TCP_SND_QUEUELEN! We don't have to touch pcb->snd_buf in tcp_split_unsent_seg()
/third_party/lwip/test/fuzz/
H A Dlwipopts.h63 #define TCP_SND_QUEUELEN 40 macro
64 #define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
/third_party/lwip/test/unit/
H A Dlwipopts.h59 #define TCP_SND_QUEUELEN 40 macro
60 #define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
/third_party/lwip/src/include/lwip/
H A Dopt.h1318 * TCP_SND_QUEUELEN: TCP sender buffer space (pbufs). This must be at least
1321 #if !defined TCP_SND_QUEUELEN || defined __DOXYGEN__
1322 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) macro
1336 * than TCP_SND_QUEUELEN. If the number of pbufs queued on a pcb drops below
1340 #define TCP_SNDQUEUELOWAT LWIP_MAX(((TCP_SND_QUEUELEN)/2), 5)
/third_party/lwip/src/include/lwip/priv/
H A Dtcp_priv.h104 ((tcp_sndbuf(tpcb) == 0) || (tcp_sndqueuelen(tpcb) >= TCP_SND_QUEUELEN)) \
/third_party/lwip/src/apps/http/
H A Dhttpd.c559 (altcp_sndqueuelen(pcb) >= TCP_SND_QUEUELEN)) { in http_write()

Completed in 14 milliseconds