Skip to content

Commit

Permalink
Lwip:add TCP Fin2 timeout configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
freakyxue committed Oct 18, 2022
1 parent 316cfc1 commit 9bad641
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 @@ -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 */
Expand Down

0 comments on commit 9bad641

Please sign in to comment.