mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
net/tcp/Kconfig, include/nuttx/net/netconfig.h: Make RTO and WAIT_TIME configurable. This fix is not really correct: TCP RTO really should be calculated dynamically for each TCP connection: http://sgros.blogspot.com/2012/02/calculating-tcp-rto.html.
This commit is contained in:
@@ -41,6 +41,18 @@ config NET_TCP_CONNS
|
||||
---help---
|
||||
Maximum number of TCP/IP connections (all tasks)
|
||||
|
||||
config NET_TCP_RTO
|
||||
int "RTO of TCP/IP connections"
|
||||
default 3
|
||||
---help---
|
||||
RTO of TCP/IP connections (all tasks)
|
||||
|
||||
config NET_TCP_WAIT_TIMEOUT
|
||||
int "TIME_WAIT Length of TCP/IP connections"
|
||||
default 120
|
||||
---help---
|
||||
TIME_WAIT Length of TCP/IP connections (all tasks)
|
||||
|
||||
config NET_MAX_LISTENPORTS
|
||||
int "Number of listening ports"
|
||||
default 20
|
||||
|
||||
Reference in New Issue
Block a user