Skip to content

Commit

Permalink
optimize add TCP ooseq buf timeout configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
freakyxue committed Nov 22, 2023
1 parent d509334 commit d3c89e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/lwip/priv/tcp_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,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 */
Expand Down

0 comments on commit d3c89e9

Please sign in to comment.