]> granicus.if.org Git - esp-idf/commitdiff
components/lwip: Expose TCP_MSL in menuconfig.
authordevsaurus <devsaurus@users.noreply.github.com>
Sun, 9 Jul 2017 10:42:37 +0000 (12:42 +0200)
committerAngus Gratton <gus@projectgus.com>
Wed, 30 Aug 2017 06:44:53 +0000 (16:44 +1000)
Merges https://github.com/espressif/esp-idf/pull/783

components/lwip/Kconfig
components/lwip/include/lwip/port/lwipopts.h

index fa604389edfb43964f919bea7a3ed4d802e318eb..65c76017c4ed9787693b03cb621b6ea0548222ba 100644 (file)
@@ -93,6 +93,12 @@ config TCP_MSS
 
         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
     int "Default send buffer size"
     default 5744  # 4 * default MSS
index 61a99382f336aa8309a77bc070b3dc994fefed18..49c2174bf3b8145a5f74b86b5d3db4fdd6623e4a 100644 (file)
 */
 #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.
  */