Searched refs:TCP_MSS (Results 1 - 15 of 15) sorted by relevance
/barrelfish-master/include/lwip/ |
H A D | lwipopts.h | 62 #define TCP_MSS 1460 macro 68 #define TCP_SND_QUEUELEN (16 * (TCP_SND_BUF/TCP_MSS))
|
/barrelfish-master/include/lwip2/ |
H A D | lwipopts.h | 519 #define TCP_MSS 1460 macro 520 #define TCP_WND (TCP_MSS * 20) 521 #define TCP_SND_BUF (TCP_MSS * 40) 522 #define TCP_SND_QUEUELEN (16 * (TCP_SND_BUF/TCP_MSS))
|
/barrelfish-master/lib/lwip2/src/core/ |
H A D | init.c | 304 #if TCP_SND_BUF < (2 * TCP_MSS) 305 #error "lwip_sanity_check: WARNING: TCP_SND_BUF must be at least as much as (2 * TCP_MSS) for things to work smoothly. If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error." 307 #if TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS)) 308 #error "lwip_sanity_check: WARNING: TCP_SND_QUEUELEN must be at least as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work. If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error." 313 #if TCP_SNDLOWAT >= (0xFFFF - (4 * TCP_MSS)) 325 #if TCP_WND < TCP_MSS
|
H A D | tcp.c | 85 /* As initial send MSS, we use TCP_MSS but limit it to 536. */ 86 #if TCP_MSS > 536 89 #define INITIAL_MSS TCP_MSS 944 /* As initial send MSS, we use TCP_MSS but limit it to 536. 1608 /* As initial send MSS, we use TCP_MSS but limit it to 536. 1908 * calculating the minimum of TCP_MSS and that netif's mtu (if set).
|
H A D | tcp_out.c | 1227 mss = tcp_eff_send_mss(TCP_MSS, &pcb->local_ip, &pcb->remote_ip); 1229 mss = TCP_MSS;
|
H A D | tcp_in.c | 1741 /* Limit the mss to the configured TCP_MSS and prevent division by zero */ 1742 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss;
|
/barrelfish-master/include/lwip/lwip/ |
H A D | opt.h | 743 * (2 * TCP_MSS) for things to work well 772 * TCP_MSS: TCP Maximum segment size. (default is 128, a *very* 778 #ifndef TCP_MSS 779 #define TCP_MSS 128 macro 787 * Setting this to 1 enables code that checks TCP_MSS against the MTU of the 804 * as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work. 807 #define TCP_SND_QUEUELEN (4 * (TCP_SND_BUF/TCP_MSS)) 883 * TCP_MSS, IP header, and link header. 886 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_HLEN)
|
H A D | tcp.h | 537 (((u32_t)TCP_MSS / 256) << 8) | \ 538 (TCP_MSS & 255))
|
/barrelfish-master/include/lwip2/lwip/ |
H A D | opt.h | 1144 * (2 * TCP_MSS) for things to work well. 1150 #define TCP_WND (4 * TCP_MSS) 1176 * TCP_MSS: TCP Maximum segment size. (default is 536, a conservative default, 1182 #if !defined TCP_MSS || defined __DOXYGEN__ 1183 #define TCP_MSS 536 macro 1191 * Setting this to 1 enables code that checks TCP_MSS against the MTU of the 1201 * To achieve good performance, this should be at least 2 * TCP_MSS. 1204 #define TCP_SND_BUF (2 * TCP_MSS) 1209 * as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work. 1212 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS [all...] |
/barrelfish-master/include/netinet/ |
H A D | tcp.h | 124 #define TCP_MSS 536 macro
|
/barrelfish-master/lib/lwip/src/core/ |
H A D | init.c | 239 if (TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF / TCP_MSS))) 240 LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: TCP_SND_QUEUELEN must be at least as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work\n")); 246 if (TCP_WND < TCP_MSS)
|
H A D | tcp.c | 504 /* As initial send MSS, we use TCP_MSS but limit it to 536. 506 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; 1004 /* As initial send MSS, we use TCP_MSS but limit it to 536. 1006 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; 1265 * calculating the minimum of TCP_MSS and that netif's mtu (if set).
|
H A D | tcp_in.c | 1495 /* Limit the mss to the configured TCP_MSS and prevent division by zero */ 1496 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss;
|
/barrelfish-master/lib/lwip2/src/apps/lwiperf/ |
H A D | lwiperf.c | 298 txlen_max = TCP_MSS; 300 txlen_max = TCP_MSS - 24; 311 } while ((err == ERR_MEM) && (txlen >= (TCP_MSS/2)));
|
/barrelfish-master/lib/lwip2/src/apps/httpd/makefsdata/ |
H A D | makefsdata.c | 10 * - take TCP_MSS, LWIP_TCP_TIMESTAMPS and 604 int chunk_size = TCP_MSS;
|
Completed in 143 milliseconds