diff options
author | Florin Coras <fcoras@cisco.com> | 2017-08-14 11:25:25 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-08-15 12:33:31 +0000 |
commit | ab0289a85c45699878d203b4a0d2e5b38c36cc55 (patch) | |
tree | 320d8d5f267e4ec11670ded214c7f3f2a3670cd2 /src/vnet/tcp/tcp.h | |
parent | 8ddd518f9a65af77dc3294f1965452aa72cb0eb2 (diff) |
tcp: state machine improvements
- Add SYN_RCVD timeout
- Fix FIN_WAIT_1 to CLOSING transition
Change-Id: I42ca7fc087f6fdfae15bd7a6175dd3226ed341c7
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp.h')
-rw-r--r-- | src/vnet/tcp/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index 52610dddaea..8010b446d30 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -97,6 +97,7 @@ extern timer_expiration_handler tcp_timer_retransmit_syn_handler; * ticks to timer units */ #define TCP_DELACK_TIME 1 /* 0.1s */ #define TCP_ESTABLISH_TIME 750 /* 75s */ +#define TCP_SYN_RCVD_TIME 100 /* 10s */ #define TCP_2MSL_TIME 300 /* 30s */ #define TCP_CLOSEWAIT_TIME 20 /* 0.1s */ #define TCP_CLEANUP_TIME 5 /* 0.5s Time to wait before cleanup */ |