Home
last modified time | relevance | path

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

/lib/liblwip/src/core/
Dinit.c115 #if (LWIP_TCP && (TCP_WND > 0xffff))
276 #if !MEMP_MEM_MALLOC && (TCP_WND > (PBUF_POOL_SIZE * (PBUF_POOL_BUFSIZE - (PBUF_LINK_HLEN + PBUF_IP…
279 #if TCP_WND < TCP_MSS
Dtcp.c175 if ((pcb->refused_data != NULL) || (pcb->rcv_wnd != TCP_WND)) { in tcp_close_shutdown()
583 if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { in tcp_update_rcv_ann_wnd()
622 if (pcb->rcv_wnd > TCP_WND) { in tcp_recved()
623 pcb->rcv_wnd = TCP_WND; in tcp_recved()
638 len, pcb->rcv_wnd, TCP_WND - pcb->rcv_wnd)); in tcp_recved()
746 pcb->rcv_wnd = TCP_WND; in tcp_connect()
747 pcb->rcv_ann_wnd = TCP_WND; in tcp_connect()
749 pcb->snd_wnd = TCP_WND; in tcp_connect()
1101 if (pcb->rcv_wnd != TCP_WND) { in tcp_process_refused_data()
1311 pcb->rcv_wnd = TCP_WND; in tcp_alloc()
[all …]
Dtcp_out.c1215 tcphdr->wnd = PP_HTONS(TCP_WND); in tcp_rst()
Dtcp_in.c371 if (pcb->rcv_wnd != TCP_WND) { in tcp_input()
/lib/liblwip/test/unit/
Dlwipopts.h45 #define TCP_WND (10 * TCP_MSS) macro
/lib/liblwip/test/unit/tcp/
Dtest_tcp_oos.c449 static char data_full_wnd[TCP_WND];
476 counters.expected_data_len = TCP_WND; in START_TEST()
489 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
505 if (i + TCP_MSS < TCP_WND) { in START_TEST()
508 expected_datalen = TCP_WND - TCP_MSS; in START_TEST()
545 #if TCP_OOSEQ_MAX_BYTES && (TCP_OOSEQ_MAX_BYTES < (TCP_WND + 1)) && (PBUF_POOL_BUFSIZE >= (TCP_MSS … in START_TEST()
566 counters.expected_data_len = TCP_WND; in START_TEST()
624 #if TCP_OOSEQ_MAX_PBUFS && (TCP_OOSEQ_MAX_PBUFS < ((TCP_WND / TCP_MSS) + 1)) && (PBUF_POOL_BUFSIZE … in START_TEST()
645 counters.expected_data_len = TCP_WND; in START_TEST()
747 counters.expected_data_len = TCP_WND; in test_tcp_recv_ooseq_double_FINs()
Dtest_tcp.c14 #if TCP_SND_BUF <= TCP_WND
293 static u8_t tx_data[TCP_WND*2];
518 tx_data[TCP_WND] = expected; in test_tcp_tx_full_window_lost()
541 if ((TCP_WND - TCP_MSS) % TCP_MSS != 0) { in test_tcp_tx_full_window_lost()
542 u16_t initial_data_len = (TCP_WND - TCP_MSS) % TCP_MSS; in test_tcp_tx_full_window_lost()
552 for (; sent_total < (TCP_WND - TCP_MSS); sent_total += TCP_MSS) { in test_tcp_tx_full_window_lost()
561 EXPECT(sent_total == (TCP_WND - TCP_MSS)); in test_tcp_tx_full_window_lost()
584 p = tcp_create_rx_segment_wnd(pcb, NULL, 0, 0, TCP_WND, TCP_ACK, 0); in test_tcp_tx_full_window_lost()
Dtcp_helper.c110 data_len, seqno, ackno, headerflags, TCP_WND); in tcp_create_segment()
231 pcb->snd_wnd = TCP_WND; in test_tcp_new_counters_pcb()
232 pcb->snd_wnd_max = TCP_WND; in test_tcp_new_counters_pcb()
/lib/liblwip/src/include/lwip/
Dopt.h922 #ifndef TCP_WND
923 #define TCP_WND (4 * TCP_MSS) macro
1068 #define TCP_WND_UPDATE_THRESHOLD (TCP_WND / 4)
/lib/liblwip/
DCHANGELOG1038 value for TCP_WND to 4*TCP_MSS to keep delayed ACK working.
2862 (currently TCP_WND/2). This avoids waiting for a timer to expire to send a