session: measure dispatch period only if under load
[vpp.git] / src / vnet / session / transport_interface.h
index b7aa4b7..3bfed41 100644 (file)
@@ -102,6 +102,9 @@ transport_tx_fn_type_t transport_protocol_tx_fn_type (transport_proto_t tp);
 void transport_update_time (f64 time_now, u8 thread_index);
 void transport_enable_disable (vlib_main_t * vm, u8 is_en);
 
+void transport_connection_tx_pacer_reset (transport_connection_t * tc,
+                                         u32 rate_bytes_per_sec,
+                                         u32 initial_bucket, u64 time_now);
 /**
  * Initialize tx pacer for connection
  *