Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
H A Dinit.c303 #if TCP_SND_BUF < (2 * TCP_MSS)
304 #error "lwip_sanity_check: WARNING: TCP_SND_BUF must be at least as much as (2 * TCP_MSS) for things to work smoothly. 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."
309 #if TCP_SNDLOWAT >= TCP_SND_BUF
310 #error "lwip_sanity_check: WARNING: TCP_SNDLOWAT must be less than TCP_SND_BUF. If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error."
H A Dtcp.c2070 pcb->snd_buf = TCP_SND_BUF;
2091 pcb->ssthresh = TCP_SND_BUF;
/third_party/lwip/src/include/lwip/
H A Dopt.h1310 * TCP_SND_BUF: TCP sender buffer space (bytes).
1313 #if !defined TCP_SND_BUF || defined __DOXYGEN__
1314 #define TCP_SND_BUF (2 * TCP_MSS) macro
1319 * as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work.
1322 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
1327 * TCP_SND_BUF. It is the amount of space which must be available in the
1331 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (TCP_SND_BUF) - 1)
/third_party/lwip/test/fuzz/
H A Dlwipopts.h66 #define TCP_SND_BUF (12 * TCP_MSS) macro
/third_party/lwip/test/unit/
H A Dlwipopts.h61 #define TCP_SND_BUF (12 * TCP_MSS) macro
/third_party/lwip/test/unit/api/
H A Dtest_sockets.c280 #define BUF_SZ (TCP_SND_BUF/4) in test_sockets_msgapi_tcp()
281 #define TOTAL_DATA_SZ (BUF_SZ*8) /* ~(TCP_SND_BUF*2) that accounts for integer rounding */ in test_sockets_msgapi_tcp()
/third_party/lwip/test/unit/tcp/
H A Dtest_tcp.c15 #if TCP_SND_BUF <= TCP_WND
16 #error "This tests needs TCP_SND_BUF to be > TCP_WND"

Completed in 12 milliseconds