From 0765d97abef74727c040d2eaf9112865d59f1593 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 18 Mar 2020 21:26:41 +0000 Subject: tcp: explicit use of timer wheel in timer apis Type: refactor Signed-off-by: Florin Coras Change-Id: I06120d43c15b2fa3f437ef235bf5f83ec2beb45e --- src/vnet/tcp/tcp_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vnet/tcp/tcp_types.h') diff --git a/src/vnet/tcp/tcp_types.h b/src/vnet/tcp/tcp_types.h index ccb7ae86aed..cc4f4b3df3a 100644 --- a/src/vnet/tcp/tcp_types.h +++ b/src/vnet/tcp/tcp_types.h @@ -20,6 +20,7 @@ #include #include #include +#include #define TCP_TICK 0.001 /**< TCP tick period (s) */ #define THZ (u32) (1/TCP_TICK) /**< TCP tick frequency */ @@ -440,6 +441,8 @@ tcp_get_connection_from_transport (transport_connection_t * tconn) return (tcp_connection_t *) tconn; } +typedef tw_timer_wheel_16t_2w_512sl_t tcp_timer_wheel_t; + #endif /* SRC_VNET_TCP_TCP_TYPES_H_ */ /* -- cgit 1.2.3-korg