aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-06-07 15:31:06 -0700
committerJohn Lo <loj@cisco.com>2019-06-08 01:36:00 +0000
commit548f75744915c8e1c5e59fb866af0d912d1173a1 (patch)
tree294197a96b0986d87a54eaa727a50e1d3674c527 /src/vnet/tcp/tcp.h
parentd9a145f42ec7e05b9066778aefc9c34d4bdaa408 (diff)
tcp: close connection if not recovered after max tries
Type: feature Change-Id: Ia8af6a62a2be2265bc42955d90e8c2222bdb8f50 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp.h')
-rw-r--r--src/vnet/tcp/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h
index 48bbb3eb02f..98808c1368b 100644
--- a/src/vnet/tcp/tcp.h
+++ b/src/vnet/tcp/tcp.h
@@ -112,6 +112,7 @@ extern timer_expiration_handler tcp_timer_retransmit_syn_handler;
#define TCP_RTT_MAX 30 * THZ /* 30s (probably too much) */
#define TCP_RTO_SYN_RETRIES 3 /* SYN retries without doubling RTO */
#define TCP_RTO_INIT 1 * THZ /* Initial retransmit timer */
+#define TCP_RTO_BOFF_MAX 8 /* Max number of retries before reset */
/** TCP connection flags */
#define foreach_tcp_connection_flag \