Lwip:add TCP Fin2 timeout configuration

This commit is contained in:
xueyunfei
2022-08-31 17:28:17 +08:00
parent 099b0b6421
commit bfaaa86775
4 changed files with 14 additions and 2 deletions

View File

@@ -578,6 +578,11 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
*/
#define TCP_MSL CONFIG_LWIP_TCP_MSL
/**
* TCP_FIN_WAIT_TIMEOUT: The maximum FIN segment lifetime in milliseconds
*/
#define TCP_FIN_WAIT_TIMEOUT CONFIG_LWIP_TCP_FIN_WAIT_TIMEOUT
/**
* LWIP_WND_SCALE and TCP_RCV_SCALE:
* Set LWIP_WND_SCALE to 1 to enable window scaling.