Home
last modified time | relevance | path

Searched refs:TCP_WND (Results 1 – 20 of 20) sorted by relevance

/third_party/lwip/src/core/
Dinit.c140 #if (LWIP_TCP && (TCP_WND > 0xffffffff))
146 #if (LWIP_TCP && (TCP_WND > (0xFFFFU << TCP_RCV_SCALE)))
149 #if (LWIP_TCP && ((TCP_WND >> TCP_RCV_SCALE) == 0))
153 #if (LWIP_TCP && (TCP_WND > 0xffff))
321 #if !MEMP_MEM_MALLOC && PBUF_POOL_SIZE && (TCP_WND > (PBUF_POOL_SIZE * (PBUF_POOL_BUFSIZE - (PBUF_L…
324 #if TCP_WND < TCP_MSS
Dtcp.c1103 if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) {
1330 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND);
1332 pcb->snd_wnd = TCP_WND;
2073 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND);
Dtcp_in.c2000 LWIP_ASSERT("window not at default value", pcb->rcv_wnd == TCPWND_MIN16(TCP_WND));
2001 LWIP_ASSERT("window not at default value", pcb->rcv_ann_wnd == TCPWND_MIN16(TCP_WND));
2002 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCP_WND;
Dtcp_out.c2007 wnd = PP_HTONS(((TCP_WND >> TCP_RCV_SCALE) & 0xFFFF)); in tcp_rst()
2009 wnd = PP_HTONS(TCP_WND); in tcp_rst()
/third_party/lwip/test/unit/tcp/
Dtest_tcp_oos.c39 #if TCP_OOSEQ_MAX_PBUFS && (TCP_OOSEQ_MAX_PBUFS < ((TCP_WND / TCP_MSS) + 1)) && (PBUF_POOL_BUFSIZE …
456 static char data_full_wnd[TCP_WND + TCP_MSS];
479 counters.expected_data_len = TCP_WND; in START_TEST()
492 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
508 if (i + TCP_MSS < TCP_WND) { in START_TEST()
511 expected_datalen = TCP_WND - TCP_MSS; in START_TEST()
566 counters.expected_data_len = TCP_WND; in START_TEST()
573 pcb->rcv_nxt = 0xffffffff - (TCP_WND / 2); in START_TEST()
579 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
595 if (i + TCP_MSS < TCP_WND) { in START_TEST()
[all …]
Dtcp_helper.c117 data_len, seqno, ackno, headerflags, TCP_WND); in tcp_create_segment()
247 pcb->snd_wnd = TCP_WND; in test_tcp_new_counters_pcb()
248 pcb->snd_wnd_max = TCP_WND; in test_tcp_new_counters_pcb()
Dtest_tcp.c15 #if TCP_SND_BUF <= TCP_WND
610 static u8_t tx_data[TCP_WND*2];
811 tx_data[TCP_WND] = expected; in test_tcp_tx_full_window_lost()
830 if ((TCP_WND - TCP_MSS) % TCP_MSS != 0) { in test_tcp_tx_full_window_lost()
831 u16_t initial_data_len = (TCP_WND - TCP_MSS) % TCP_MSS; in test_tcp_tx_full_window_lost()
841 for (; sent_total < (TCP_WND - TCP_MSS); sent_total += TCP_MSS) { in test_tcp_tx_full_window_lost()
850 EXPECT(sent_total == (TCP_WND - TCP_MSS)); in test_tcp_tx_full_window_lost()
873 p = tcp_create_rx_segment_wnd(pcb, NULL, 0, 0, TCP_WND, TCP_ACK, 0); in test_tcp_tx_full_window_lost()
/third_party/lwip/
D0042-expand-recv-win.patch32 -#define TCP_WND (40 * TCP_MSS)
33 +#define TCP_WND (2500 * TCP_MSS)
D0040-add-huge-snd_buf.patch80 #define TCP_WND (40 * TCP_MSS)
D0001-add-makefile.patch209 +#define TCP_WND (10 * TCP_MSS)
D0024-refactor-pkt-read-send-performance.patch239 #define TCP_WND (40 * TCP_MSS)
D0080-enable-ipv6.patch383 #define TCP_WND (2500 * TCP_MSS)
D0053-cleancode-improve-lwipopts.h-readability.patch1994 -#define TCP_WND (2500 * TCP_MSS)
2126 +#define TCP_WND (2500 * TCP_MSS)
D0002-adapt-lstack.patch4976 -#define TCP_WND (10 * TCP_MSS)
5056 +#define TCP_WND (40 * TCP_MSS)
DCHANGELOG2237 value for TCP_WND to 4*TCP_MSS to keep delayed ACK working.
4061 (currently TCP_WND/2). This avoids waiting for a timer to expire to send a
/third_party/lwip/src/include/lwip/
Dtcp.h140 …_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16(TCP_WND)))
145 #define TCP_WND_MAX(pcb) TCP_WND
Dopt.h1238 #if !defined TCP_WND || defined __DOXYGEN__
1239 #define TCP_WND (4 * TCP_MSS) macro
1438 #define TCP_WND_UPDATE_THRESHOLD LWIP_MIN((TCP_WND / 4), (TCP_MSS * 4))
/third_party/lwip/test/fuzz/
Dlwipopts.h67 #define TCP_WND (10 * TCP_MSS) macro
/third_party/lwip/test/unit/
Dlwipopts.h62 #define TCP_WND (10 * TCP_MSS) macro
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c678 if (TCP_WND < MBEDTLS_SSL_MAX_CONTENT_LEN) { in altcp_tls_create_config()