| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | init.c | 137 #if (LWIP_TCP && (TCP_WND > 0xffffffff)) 143 #if (LWIP_TCP && (TCP_WND > (0xFFFFU << TCP_RCV_SCALE))) 146 #if (LWIP_TCP && ((TCP_WND >> TCP_RCV_SCALE) == 0)) 150 #if (LWIP_TCP && (TCP_WND > 0xffff)) 317 #if !MEMP_MEM_MALLOC && PBUF_POOL_SIZE && (TCP_WND > (PBUF_POOL_SIZE * (PBUF_POOL_BUFSIZE - (PBUF_L… 320 #if TCP_WND < TCP_MSS
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | init.c | 141 #if (LWIP_TCP && (TCP_WND > 0xffffffff)) 147 #if (LWIP_TCP && (TCP_WND > (0xFFFFU << TCP_RCV_SCALE))) 150 #if (LWIP_TCP && ((TCP_WND >> TCP_RCV_SCALE) == 0)) 154 #if (LWIP_TCP && (TCP_WND > 0xffff)) 322 #if !MEMP_MEM_MALLOC && PBUF_POOL_SIZE && (TCP_WND > (PBUF_POOL_SIZE * (PBUF_POOL_BUFSIZE - (PBUF_L… 325 #if TCP_WND < TCP_MSS
|
| A D | tcp.c | 763 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() 946 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND); in tcp_connect() 948 pcb->snd_wnd = TCP_WND; in tcp_connect() 1611 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND); in tcp_alloc()
|
| /components/net/lwip/lwip-2.1.2/test/unit/tcp/ |
| A D | test_tcp_oos.c | 456 static char data_full_wnd[TCP_WND + TCP_MSS]; 479 counters.expected_data_len = TCP_WND; 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() 595 if (i + TCP_MSS < TCP_WND) { in START_TEST() 598 expected_datalen = TCP_WND - TCP_MSS; in START_TEST() 652 counters.expected_data_len = TCP_WND; in START_TEST() 727 counters.expected_data_len = TCP_WND; in START_TEST() [all …]
|
| A D | tcp_helper.c | 117 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()
|
| A D | test_tcp.c | 15 #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()
|
| /components/net/lwip/lwip-2.0.3/test/unit/tcp/ |
| A D | test_tcp_oos.c | 457 static char data_full_wnd[TCP_WND + TCP_MSS]; 486 counters.expected_data_len = TCP_WND; in START_TEST() 515 if (i + TCP_MSS < TCP_WND) { in START_TEST() 518 expected_datalen = TCP_WND - TCP_MSS; in START_TEST() 579 counters.expected_data_len = TCP_WND; in START_TEST() 586 pcb->rcv_nxt = 0xffffffff - (TCP_WND / 2); in START_TEST() 608 if (i + TCP_MSS < TCP_WND) { in START_TEST() 611 expected_datalen = TCP_WND - TCP_MSS; in START_TEST() 671 counters.expected_data_len = TCP_WND; in START_TEST() 752 counters.expected_data_len = TCP_WND; in START_TEST() [all …]
|
| A D | test_tcp.c | 15 #if TCP_SND_BUF <= TCP_WND 367 static u8_t tx_data[TCP_WND*2]; 594 tx_data[TCP_WND] = expected; in test_tcp_tx_full_window_lost() 617 if ((TCP_WND - TCP_MSS) % TCP_MSS != 0) { in test_tcp_tx_full_window_lost() 618 u16_t initial_data_len = (TCP_WND - TCP_MSS) % TCP_MSS; in test_tcp_tx_full_window_lost() 628 for (; sent_total < (TCP_WND - TCP_MSS); sent_total += TCP_MSS) { in test_tcp_tx_full_window_lost() 637 EXPECT(sent_total == (TCP_WND - TCP_MSS)); in test_tcp_tx_full_window_lost() 660 p = tcp_create_rx_segment_wnd(pcb, NULL, 0, 0, TCP_WND, TCP_ACK, 0); in test_tcp_tx_full_window_lost()
|
| A D | tcp_helper.c | 112 data_len, seqno, ackno, headerflags, TCP_WND); in tcp_create_segment() 242 pcb->snd_wnd = TCP_WND; in test_tcp_new_counters_pcb() 243 pcb->snd_wnd_max = TCP_WND; in test_tcp_new_counters_pcb()
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | init.c | 115 #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
|
| A D | tcp.c | 175 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 …]
|
| /components/net/lwip/lwip-1.4.1/test/unit/tcp/ |
| A D | test_tcp_oos.c | 449 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()
|
| A D | test_tcp.c | 14 #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()
|
| A D | tcp_helper.c | 110 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()
|
| /components/net/lwip/lwip-1.4.1/test/unit/ |
| A D | lwipopts.h | 45 #define TCP_WND (10 * TCP_MSS) macro
|
| /components/net/lwip/lwip-2.0.3/test/unit/ |
| A D | lwipopts.h | 49 #define TCP_WND (10 * TCP_MSS) macro
|
| /components/net/lwip/lwip-2.0.3/test/fuzz/ |
| A D | lwipopts.h | 60 #define TCP_WND (10 * TCP_MSS) macro
|
| /components/net/lwip/lwip-2.1.2/test/fuzz/ |
| A D | lwipopts.h | 67 #define TCP_WND (10 * TCP_MSS) macro
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | tcp.h | 138 …_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16(TCP_WND))) 144 #define TCP_WND_MAX(pcb) TCP_WND
|
| A D | opt.h | 1149 #if !defined TCP_WND || defined __DOXYGEN__ 1150 #define TCP_WND (4 * TCP_MSS) macro 1298 #define TCP_WND_UPDATE_THRESHOLD LWIP_MIN((TCP_WND / 4), (TCP_MSS * 4))
|
| /components/net/lwip/lwip-2.1.2/test/unit/ |
| A D | lwipopts.h | 61 #define TCP_WND (10 * TCP_MSS) macro
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | tcp.h | 140 …_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16(TCP_WND))) 145 #define TCP_WND_MAX(pcb) TCP_WND
|
| A D | opt.h | 1238 #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))
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | opt.h | 922 #ifndef TCP_WND 923 #define TCP_WND (4 * TCP_MSS) macro 1068 #define TCP_WND_UPDATE_THRESHOLD (TCP_WND / 4)
|
| /components/net/lwip/port/ |
| A D | lwipopts.h | 396 #define TCP_WND RT_LWIP_TCP_WND macro 398 #define TCP_WND (TCP_MSS * 2) macro
|