diff --git a/lwip/src/include/lwipopts.h b/lwip/src/include/lwipopts.h index 9e9b36e8..d2da1154 100644 --- a/lwip/src/include/lwipopts.h +++ b/lwip/src/include/lwipopts.h @@ -65,6 +65,18 @@ */ #define LWIP_TCP 1 +/** + * LWIP_TCP_KEEPALIVE==1: Enable TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT + * options processing. Note that TCP_KEEPIDLE and TCP_KEEPINTVL have to be set + * in seconds. (does not require sockets.c, and will affect tcp.c) + */ +#define LWIP_TCP_KEEPALIVE 1 + +/** + * LWIP_STATS_DISPLAY==1: Compile in the statistics output functions. + */ +#define LWIP_STATS_DISPLAY 1 + /** * TCP_MSS: TCP Maximum segment size. (default is 536, a conservative default, * you might want to increase this.)