Searched refs:TCP_MSS (Results 1 – 13 of 13) sorted by relevance
/third_party/lwip/test/unit/tcp/ |
D | test_tcp.c | 20 #define SEQNO1 (0xFFFFFF00 - TCP_MSS) 24 SEQNO1 + (1 * TCP_MSS), 25 SEQNO1 + (2 * TCP_MSS), 26 SEQNO1 + (3 * TCP_MSS), 27 SEQNO1 + (4 * TCP_MSS), 28 SEQNO1 + (5 * TCP_MSS) }; 457 char data6[TCP_MSS] = {21, 22, 23, 24}; in START_TEST() 469 pcb->mss = TCP_MSS; in START_TEST() 540 err = tcp_write(pcb, data6, TCP_MSS, TCP_WRITE_FLAG_COPY); in START_TEST() 652 pcb->mss = TCP_MSS; in START_TEST() [all …]
|
D | test_tcp_oos.c | 39 …SEQ_MAX_PBUFS && (TCP_OOSEQ_MAX_PBUFS < ((TCP_WND / TCP_MSS) + 1)) && (PBUF_POOL_BUFSIZE >= (TCP_M… 456 static char data_full_wnd[TCP_WND + TCP_MSS]; 490 pinseq = tcp_create_rx_segment(pcb, &data_full_wnd[0], TCP_MSS, 0, 0, TCP_ACK); in START_TEST() 492 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST() 494 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], 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() 509 expected_datalen = (k+1)*TCP_MSS; in START_TEST() 511 expected_datalen = TCP_WND - TCP_MSS; 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() [all …]
|
/third_party/lwip/src/core/ |
D | init.c | 300 #if TCP_SND_BUF < (2 * TCP_MSS) 303 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS)) 309 #if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS)) 321 #if TCP_WND < TCP_MSS
|
D | tcp.c | 138 #if TCP_MSS > 536 141 #define INITIAL_MSS TCP_MSS
|
D | tcp_in.c | 1944 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss;
|
D | tcp_out.c | 1501 mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); in tcp_output_segment() 1503 mss = TCP_MSS; in tcp_output_segment()
|
/third_party/lwip/test/fuzz/ |
D | lwipopts.h | 66 #define TCP_SND_BUF (12 * TCP_MSS) 67 #define TCP_WND (10 * TCP_MSS)
|
/third_party/lwip/src/include/lwip/ |
D | opt.h | 1239 #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+PBUF_IP_HLEN+PBUF_TRANSPORT_HLE…
|
/third_party/lwip/test/unit/ |
D | lwipopts.h | 61 #define TCP_SND_BUF (12 * TCP_MSS) 62 #define TCP_WND (10 * TCP_MSS)
|
/third_party/lwip/src/apps/lwiperf/ |
D | lwiperf.c | 326 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()
|
/third_party/lwip/test/sockets/ |
D | sockets_stresstest.c | 70 #define TEST_TXRX_BUFSIZE (TCP_MSS * 2)
|
/third_party/lwip/src/apps/http/makefsdata/ |
D | makefsdata.c | 657 int chunk_size = TCP_MSS; in write_checksums()
|
/third_party/lwip/ |
D | CHANGELOG | 807 * tcp_out.c: fixed bug #46384 Segment size calculation bug with MSS != TCP_MSS 1441 * tcp_out.c: use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs 2236 * opt.h: Increased default value for TCP_MSS to 536, updated default 2237 value for TCP_WND to 4*TCP_MSS to keep delayed ACK working. 2312 * opt.h, init.c: bug #26649: TCP fails when TCP_MSS > TCP_SND_BUF 3390 TCP_MSS if that is smaller) as long as no MSS option is received from the 3395 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively 3396 sending our configured TCP_MSS instead of the one received). 3400 calculated based on the configured TCP_MSS, not on the MSS option received
|