aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 9b9cd29114d..e62aea483cf 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -552,6 +552,12 @@ transport_us_time_now (u32 thread_index)
return session_main.wrk[thread_index].last_vlib_us_time;
}
+always_inline clib_time_type_t
+transport_seconds_per_loop (u32 thread_index)
+{
+ return session_main.wrk[thread_index].vm->seconds_per_loop;
+}
+
always_inline void
transport_add_tx_event (transport_connection_t * tc)
{