X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ftcp%2Ftcp.h;h=418bc476cb99f6defeb0b6d483044b545bcbbeff;hb=refs%2Fchanges%2F98%2F31898%2F10;hp=2725c1f51cfed1f4bd8943e93cc344590e3d40c4;hpb=3b62c71e3b641dc354e2d5bb01575aa9a9f66e31;p=vpp.git diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index 2725c1f51cf..418bc476cb9 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -91,15 +91,15 @@ typedef struct tcp_worker_ctx_ /** convenience pointer to this thread's vlib main */ vlib_main_t *vm; + /** Time used for high precision (us) measurements in seconds */ + f64 time_us; + /** Time measured in @ref TCP_TSTAMP_TICK used for time stamps */ - u32 time_now; + u32 time_tstamp; /* Max timers to be handled per dispatch loop */ u32 max_timers_per_loop; - /** Session layer edge indices to tcp output */ - u32 tco_next_node[2]; - /* Fifo of pending timer expirations */ u32 *pending_timers; @@ -114,6 +114,9 @@ typedef struct tcp_worker_ctx_ /* fifo of pending free requests */ tcp_cleanup_req_t *pending_cleanups; + /** Session layer edge indices to tcp output */ + u32 tco_next_node[2]; + /** worker timer wheel */ tcp_timer_wheel_t timer_wheel;