diff options
author | Joseph Henry <joseph.henry@zerotier.com> | 2015-10-08 17:55:58 -0400 |
---|---|---|
committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-10-08 17:55:58 -0400 |
commit | bbfc9359e9828931c833f80739dd43d3d4f3e973 (patch) | |
tree | 8c6388f36e8d56b717957871c608af41f17c11c2 /ext/lwipopts.h | |
parent | 1bc33ae8d78cf97f96028d0e46e916d71b995f7f (diff) | |
download | infinitytier-bbfc9359e9828931c833f80739dd43d3d4f3e973.tar.gz infinitytier-bbfc9359e9828931c833f80739dd43d3d4f3e973.zip |
Minor timer changes (~21 Mb/s local)
Diffstat (limited to 'ext/lwipopts.h')
-rw-r--r-- | ext/lwipopts.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/lwipopts.h b/ext/lwipopts.h index 78ec1f9d..bc8e7570 100644 --- a/ext/lwipopts.h +++ b/ext/lwipopts.h @@ -64,6 +64,10 @@ //#define PBUF_POOL_BUFSIZE 2048 + +#define TCP_MSS 2048 +#define TCP_WND 512 + /*------------------------------------------------------------------------------ ---------------------------------- Timers -------------------------------------- ------------------------------------------------------------------------------*/ @@ -71,7 +75,7 @@ /* these are originally defined in tcp_impl.h */ #ifndef TCP_TMR_INTERVAL /* The TCP timer interval in milliseconds. */ -#define TCP_TMR_INTERVAL 20 +#define TCP_TMR_INTERVAL 250 #endif /* TCP_TMR_INTERVAL */ #ifndef TCP_FAST_INTERVAL @@ -113,7 +117,7 @@ ------------------------------------------------------------------------------*/ -#define LWIP_CHKSUM_ALGORITHM 0 +#define LWIP_CHKSUM_ALGORITHM 2 /** @@ -146,7 +150,7 @@ * MEMP_NUM_RAW_PCB: Number of raw connection PCBs * (requires the LWIP_RAW option) */ -#define MEMP_NUM_RAW_PCB 128 +#define MEMP_NUM_RAW_PCB 32 /** * MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One |