Lwip:add TCP Fin2 timeout configuration

This commit is contained in:
xueyunfei
2022-08-31 17:26:28 +08:00
parent 316cfc17ce
commit 9bad641bc7
+2
View File
@@ -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 */
#endif /* TCP_SLOW_INTERVAL */
#ifndef TCP_FIN_WAIT_TIMEOUT
#define TCP_FIN_WAIT_TIMEOUT 20000 /* milliseconds */
#endif /* TCP_FIN_WAIT_TIMEOUT */
#define TCP_SYN_RCVD_TIMEOUT 20000 /* milliseconds */
#define TCP_OOSEQ_TIMEOUT 6U /* x RTO */