From: Marco Schlumpp Date: Mon, 30 Jan 2023 10:19:18 +0000 (+0100) Subject: Pass TCP timestamps config define to LWIP code X-Git-Tag: RELEASE-0.12.0~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e2c49b069121988ca850c8a6b14ed4fb440a2d7e;p=unikraft%2Flibs%2Flwip.git Pass TCP timestamps config define to LWIP code The corresponding Unikraft config has a CONFIG_ prefix that won't be picked up by the LWIP source code. Signed-off-by: Marco Schlumpp Reviewed-by: Radu Nichita Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #26 --- diff --git a/include/lwipopts.h b/include/lwipopts.h index 1f03ccb..bedd17c 100644 --- a/include/lwipopts.h +++ b/include/lwipopts.h @@ -158,6 +158,10 @@ void sys_free(void *ptr); #define LWIP_TCP_KEEPALIVE 1 #endif /* CONFIG_LWIP_TCP_KEEPALIVE */ +#ifdef CONFIG_LWIP_TCP_TIMESTAMPS +#define LWIP_TCP_TIMESTAMPS 1 +#endif /* CONFIG_LWIP_TCP_TIMESTAMPS */ + #if CONFIG_LWIP_WND_SCALE /* * Maximum window and scaling factor