feat(lwip): Add kconfig to congigure initial RTO time and set default value to 1000

This commit is contained in:
yuanjm
2020-03-26 11:58:18 +08:00
parent 76af8bdbff
commit 417a6078a8
4 changed files with 21 additions and 2 deletions

View File

@@ -1097,6 +1097,12 @@ size_t memp_malloc_get_size(size_t type);
*/
#define LWIP_WND_SCALE 0
#define TCP_RCV_SCALE 0
/**
* LWIP_TCP_RTO_TIME: make TCP RTO time configurable.
* Default is 1 second.
*/
#define LWIP_TCP_RTO_TIME CONFIG_LWIP_TCP_RTO_TIME
/**
* @}
*/