components/lwip: Expose TCP_MSL in menuconfig.

Merges https://github.com/espressif/esp-idf/pull/783
This commit is contained in:
devsaurus 2017-07-09 12:42:37 +02:00 committed by Angus Gratton
parent ef60d73fe4
commit 92535158e7
2 changed files with 11 additions and 0 deletions

View file

@ -93,6 +93,12 @@ config TCP_MSS
Can be set lower to save RAM, the default value 1436 will give best throughput. Can be set lower to save RAM, the default value 1436 will give best throughput.
config TCP_MSL
int "Maximum segment lifetime (MSL)"
default 60000
help
Set maximum segment lifetime in in milliseconds.
config TCP_SND_BUF_DEFAULT config TCP_SND_BUF_DEFAULT
int "Default send buffer size" int "Default send buffer size"
default 5744 # 4 * default MSS default 5744 # 4 * default MSS

View file

@ -294,6 +294,11 @@
*/ */
#define TCP_MSS CONFIG_TCP_MSS #define TCP_MSS CONFIG_TCP_MSS
/**
* TCP_MSL: The maximum segment lifetime in milliseconds
*/
#define TCP_MSL CONFIG_TCP_MSL
/** /**
* TCP_MAXRTX: Maximum number of retransmissions of data segments. * TCP_MAXRTX: Maximum number of retransmissions of data segments.
*/ */