mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-08-14 22:17:58 +00:00
Lwip:add TCP Fin2 timeout configuration
This commit is contained in:
@@ -128,7 +128,9 @@ err_t tcp_process_refused_data(struct tcp_pcb *pcb);
|
|||||||
#define TCP_SLOW_INTERVAL (2*TCP_TMR_INTERVAL) /* the coarse grained timeout in milliseconds */
|
#define TCP_SLOW_INTERVAL (2*TCP_TMR_INTERVAL) /* the coarse grained timeout in milliseconds */
|
||||||
#endif /* TCP_SLOW_INTERVAL */
|
#endif /* TCP_SLOW_INTERVAL */
|
||||||
|
|
||||||
|
#ifndef TCP_FIN_WAIT_TIMEOUT
|
||||||
#define TCP_FIN_WAIT_TIMEOUT 20000 /* milliseconds */
|
#define TCP_FIN_WAIT_TIMEOUT 20000 /* milliseconds */
|
||||||
|
#endif /* TCP_FIN_WAIT_TIMEOUT */
|
||||||
#define TCP_SYN_RCVD_TIMEOUT 20000 /* milliseconds */
|
#define TCP_SYN_RCVD_TIMEOUT 20000 /* milliseconds */
|
||||||
|
|
||||||
#define TCP_OOSEQ_TIMEOUT 6U /* x RTO */
|
#define TCP_OOSEQ_TIMEOUT 6U /* x RTO */
|
||||||
|
|||||||
Reference in New Issue
Block a user