tcp: Make TCP OOSEQ timeout configurable

2.1.3-esp: 4a8286ab optimize add TCP ooseq buf timeout configuration
This commit is contained in:
xueyunfei
2024-09-10 12:51:37 +02:00
committed by David Cermak
parent 403ee146d6
commit 531e7999e8
+2
View File
@@ -130,7 +130,9 @@ err_t tcp_process_refused_data(struct tcp_pcb *pcb);
#endif /* TCP_FIN_WAIT_TIMEOUT */
#define TCP_SYN_RCVD_TIMEOUT 20000 /* milliseconds */
#ifndef TCP_OOSEQ_TIMEOUT
#define TCP_OOSEQ_TIMEOUT 6U /* x RTO */
#endif
#ifndef TCP_MSL
#define TCP_MSL 60000UL /* The maximum segment lifetime in milliseconds */