/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/ |
D | 0042-expand-recv-win.patch | 30 #define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN) 32 -#define TCP_WND (40 * TCP_MSS) 33 +#define TCP_WND (2500 * TCP_MSS) 35 #define TCP_SND_BUF (2500 * TCP_MSS)
|
D | 0040-add-huge-snd_buf.patch | 8 -#if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS)) 9 +#if TCP_SNDLOWAT >= (0xFFFFFFFF - (4 * TCP_MSS)) 80 #define TCP_WND (40 * TCP_MSS) 82 -#define TCP_SND_BUF (40 * TCP_MSS) 83 +#define TCP_SND_BUF (2500 * TCP_MSS)
|
D | 0024-refactor-pkt-read-send-performance.patch | 239 #define TCP_WND (40 * TCP_MSS) 241 -#define TCP_SND_BUF (5 * TCP_MSS) 242 +#define TCP_SND_BUF (40 * TCP_MSS)
|
D | 0075-adapt-read-write-for-rtc-mode.patch | 90 -#if TCP_SNDLOWAT >= (0xFFFFFFFF - (4 * TCP_MSS)) 91 +#if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS)) 441 +#define TCP_OVERSIZE TCP_MSS 444 #define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN)
|
D | 0080-enable-ipv6.patch | 377 #define TCP_OVERSIZE TCP_MSS 380 -#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN) 381 +#define TCP_MSS (FRAME_MTU - IP6_HLEN - TCP_HLEN - VLAN_LEN) 383 #define TCP_WND (2500 * TCP_MSS)
|
D | 0001-add-makefile.patch | 208 +#define TCP_SND_BUF (12 * TCP_MSS) 209 +#define TCP_WND (10 * TCP_MSS)
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 1247 - if (seg->len < TCP_MSS || next_seqno != seg_seqno || pbuf_chain_len >= MAX_PBUF_CHAIN_LEN)… 1248 + if (seg->len < TCP_MSS || next_seqno != seg_seqno || pbuf_chain_len >= GAZELLE_TCP_MAX_PBU… 1251 if (first_pbuf == NULL && (seg->next == NULL || seg->next->len < TCP_MSS)) { 1909 - * and do NOT let PBUF_POOL_BUFSIZE less then TCP_MSS 1991 -#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN) 1994 -#define TCP_WND (2500 * TCP_MSS) 1997 -#define TCP_SND_BUF (2500 * TCP_MSS) 2040 + * and do NOT let PBUF_POOL_BUFSIZE less then TCP_MSS 2123 +#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN) 2126 +#define TCP_WND (2500 * TCP_MSS) [all …]
|
D | 0056-fix-tso-small-packet-drop-in-kernel-server.patch | 189 - if (seg->len < TCP_MSS || next_seqno != seg_seqno || pbuf_chain_len >= GAZELLE_TCP_MAX_PBU… 192 - if (first_pbuf == NULL && (seg->next == NULL || seg->next->len < TCP_MSS)) {
|
D | 0038-add-tso.patch | 256 + if (seg->len < TCP_MSS || next_seqno != seg_seqno || pbuf_chain_len >= MAX_PBUF_CHAIN_LEN)… 259 + if (first_pbuf == NULL && (seg->next == NULL || seg->next->len < TCP_MSS)) {
|
D | 0097-Mod-the-issue-that-2w-connection-unable-to-establish.patch | 271 #define TCP_OVERSIZE TCP_MSS
|
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
|
D | 0002-adapt-lstack.patch | 4975 -#define TCP_SND_BUF (12 * TCP_MSS) 4976 -#define TCP_WND (10 * TCP_MSS) 5016 + * and do NOT let PBUF_POOL_BUFSIZE less then TCP_MSS 5054 +#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN) 5056 +#define TCP_WND (40 * TCP_MSS) 5058 +#define TCP_SND_BUF (5 * 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/src/core/ |
D | init.c | 303 #if TCP_SND_BUF < (2 * TCP_MSS) 306 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS)) 312 #if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS)) 324 #if TCP_WND < TCP_MSS
|
D | tcp.c | 141 #if TCP_MSS > 536 144 #define INITIAL_MSS TCP_MSS
|
D | tcp_out.c | 1513 mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); in tcp_output_segment() 1515 mss = TCP_MSS; in tcp_output_segment()
|
D | tcp_in.c | 1978 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss;
|
/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/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()
|