Home
last modified time | relevance | path

Searched refs:TCP_MSS (Results 1 – 25 of 35) sorted by relevance

12

/components/net/lwip/lwip-2.1.2/test/unit/tcp/
A Dtest_tcp.c24 SEQNO1 + (1 * TCP_MSS),
25 SEQNO1 + (2 * TCP_MSS),
26 SEQNO1 + (3 * TCP_MSS),
27 SEQNO1 + (4 * TCP_MSS),
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()
1542 err = tcp_write(pcb, &tx_data[0], (3 * TCP_MSS) + (TCP_MSS - (TCP_MSS / 4)), TCP_WRITE_FLAG_COPY); in START_TEST()
1555 EXPECT(pcb->unsent->len == TCP_MSS - (TCP_MSS / 4)); in START_TEST()
1621 EXPECT(memcmp(sent, &tx_data[3 * TCP_MSS], TCP_MSS / 2) == 0); in START_TEST()
[all …]
A Dtest_tcp_oos.c492 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
495 TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK); in START_TEST()
508 if (i + TCP_MSS < TCP_WND) { in START_TEST()
519 …p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_A… in START_TEST()
579 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
582 TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK); in START_TEST()
595 if (i + TCP_MSS < TCP_WND) { in START_TEST()
606 …p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_A… in START_TEST()
837 …p_data_after_fin = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS+1], k, TCP_MSS+1, 0, TCP_ACK); in test_tcp_recv_ooseq_double_FINs()
847 exp_rx_bytes += TCP_MSS; in test_tcp_recv_ooseq_double_FINs()
[all …]
/components/net/lwip/lwip-1.4.1/test/unit/tcp/
A Dtest_tcp.c152 pcb->mss = TCP_MSS; in START_TEST()
349 pcb->mss = TCP_MSS; in START_TEST()
351 pcb->cwnd = 2*TCP_MSS; in START_TEST()
357 sent_total += TCP_MSS; in START_TEST()
448 pcb->mss = TCP_MSS; in START_TEST()
450 pcb->cwnd = 2*TCP_MSS; in START_TEST()
535 pcb->mss = TCP_MSS; 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()
[all …]
A Dtest_tcp_oos.c489 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
492 TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK); in START_TEST()
505 if (i + TCP_MSS < TCP_WND) { in START_TEST()
506 expected_datalen = (k+1)*TCP_MSS; in START_TEST()
508 expected_datalen = TCP_WND - TCP_MSS; in START_TEST()
516 …p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_A… in START_TEST()
595 EXPECT_OOSEQ(datalen == (i * TCP_MSS)); in START_TEST()
611 EXPECT_OOSEQ(datalen2 == ((i-1) * TCP_MSS)); in START_TEST()
760 …p_data_after_fin = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS+1], k, TCP_MSS+1, 0, TCP_ACK); in test_tcp_recv_ooseq_double_FINs()
771 exp_rx_bytes += TCP_MSS; in test_tcp_recv_ooseq_double_FINs()
[all …]
/components/net/lwip/lwip-2.0.3/test/unit/tcp/
A Dtest_tcp.c226 pcb->mss = TCP_MSS; in START_TEST()
422 pcb->mss = TCP_MSS; in START_TEST()
424 pcb->cwnd = 2*TCP_MSS; in START_TEST()
432 sent_total += TCP_MSS; in START_TEST()
524 pcb->mss = TCP_MSS; in START_TEST()
526 pcb->cwnd = 2*TCP_MSS; in START_TEST()
611 pcb->mss = TCP_MSS; 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()
[all …]
A Dtest_tcp_oos.c499 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
502 TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK); in START_TEST()
515 if (i + TCP_MSS < TCP_WND) { in START_TEST()
526 …p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_A… in START_TEST()
592 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST()
595 TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK); in START_TEST()
608 if (i + TCP_MSS < TCP_WND) { in START_TEST()
619 …p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_A… in START_TEST()
868 …p_data_after_fin = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS+1], k, TCP_MSS+1, 0, TCP_ACK); in test_tcp_recv_ooseq_double_FINs()
878 exp_rx_bytes += TCP_MSS; in test_tcp_recv_ooseq_double_FINs()
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dopt.h923 #define TCP_WND (4 * TCP_MSS)
955 #ifndef TCP_MSS
956 #define TCP_MSS 536 macro
977 #define TCP_SND_BUF (2 * TCP_MSS)
985 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
994 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (T…
1053 #define TCP_OVERSIZE TCP_MSS
1104 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_HLEN)
/components/net/lwip/lwip-1.4.1/test/unit/
A Dlwipopts.h44 #define TCP_SND_BUF (12 * TCP_MSS)
45 #define TCP_WND (10 * TCP_MSS)
/components/net/lwip/lwip-2.0.3/test/unit/
A Dlwipopts.h48 #define TCP_SND_BUF (12 * TCP_MSS)
49 #define TCP_WND (10 * TCP_MSS)
/components/net/lwip/lwip-2.0.3/test/fuzz/
A Dlwipopts.h59 #define TCP_SND_BUF (12 * TCP_MSS)
60 #define TCP_WND (10 * TCP_MSS)
/components/net/lwip/lwip-2.1.2/test/fuzz/
A Dlwipopts.h66 #define TCP_SND_BUF (12 * TCP_MSS)
67 #define TCP_WND (10 * TCP_MSS)
/components/net/lwip/lwip-2.1.2/test/unit/
A Dlwipopts.h60 #define TCP_SND_BUF (12 * TCP_MSS)
61 #define TCP_WND (10 * TCP_MSS)
/components/net/lwip/lwip-2.1.2/src/core/
A Dinit.c299 #if TCP_SND_BUF < (2 * TCP_MSS)
302 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS))
308 #if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS))
320 #if TCP_WND < TCP_MSS
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dopt.h1150 #define TCP_WND (4 * TCP_MSS)
1182 #if !defined TCP_MSS || defined __DOXYGEN__
1183 #define TCP_MSS 536 macro
1204 #define TCP_SND_BUF (2 * TCP_MSS)
1212 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
1221 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (T…
1280 #define TCP_OVERSIZE TCP_MSS
1298 #define TCP_WND_UPDATE_THRESHOLD LWIP_MIN((TCP_WND / 4), (TCP_MSS * 4))
1373 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_ENCAPSULATION_HLEN…
/components/net/lwip/lwip-2.0.3/src/core/
A Dinit.c304 #if TCP_SND_BUF < (2 * TCP_MSS)
307 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS))
313 #if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS))
325 #if TCP_WND < TCP_MSS
A Dtcp_out.c1227 mss = tcp_eff_send_mss(TCP_MSS, &pcb->local_ip, &pcb->remote_ip); in tcp_output_segment()
1229 mss = TCP_MSS; in tcp_output_segment()
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dopt.h1239 #define TCP_WND (4 * TCP_MSS)
1292 #if !defined TCP_MSS || defined __DOXYGEN__
1293 #define TCP_MSS 536 macro
1314 #define TCP_SND_BUF (2 * TCP_MSS)
1322 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
1331 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (T…
1420 #define TCP_OVERSIZE TCP_MSS
1438 #define TCP_WND_UPDATE_THRESHOLD LWIP_MIN((TCP_WND / 4), (TCP_MSS * 4))
1548 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_ENCAPSULATION_HLEN…
/components/net/lwip/lwip-1.4.1/src/core/
A Dinit.c264 #if TCP_SND_BUF < (2 * TCP_MSS)
267 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS))
279 #if TCP_WND < TCP_MSS
A Dtcp.c752 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; in tcp_connect()
1317 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; in tcp_alloc()
A Dtcp_out.c1073 mss = tcp_eff_send_mss(TCP_MSS, &pcb->remote_ip); in tcp_output_segment()
1075 mss = TCP_MSS; in tcp_output_segment()
A Dtcp_in.c1578 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss; in tcp_parseopt()
/components/net/lwip/port/
A Dlwipopts.h375 #define TCP_MSS 1460 macro
381 #define TCP_SND_BUF (TCP_MSS * 2)
386 #define TCP_SND_QUEUELEN (4 * TCP_SND_BUF/TCP_MSS)
398 #define TCP_WND (TCP_MSS * 2)
/components/net/lwip/lwip-2.0.3/src/apps/lwiperf/
A Dlwiperf.c298 txlen_max = TCP_MSS; in lwiperf_tcp_client_send_more()
300 txlen_max = TCP_MSS - 24; in lwiperf_tcp_client_send_more()
311 } while ((err == ERR_MEM) && (txlen >= (TCP_MSS/2))); in lwiperf_tcp_client_send_more()
/components/net/lwip/lwip-2.1.2/src/apps/lwiperf/
A Dlwiperf.c326 txlen_max = TCP_MSS; in lwiperf_tcp_client_send_more()
328 txlen_max = TCP_MSS - 24; in lwiperf_tcp_client_send_more()
339 } while ((err == ERR_MEM) && (txlen >= (TCP_MSS / 2))); in lwiperf_tcp_client_send_more()
/components/net/lwip/lwip-2.1.2/test/sockets/
A Dsockets_stresstest.c70 #define TEST_TXRX_BUFSIZE (TCP_MSS * 2)

Completed in 55 milliseconds

12