ip-neighbor: Replace feature for the ip-neighbor data-base
[vpp.git] / src / vppinfra / tw_timer_template.h
index 0217644..f77b64e 100644 (file)
@@ -197,9 +197,6 @@ typedef struct
   /** current tick */
   u64 current_tick;
 
-  /** first expiration time */
-  u64 first_expires_tick;
-
   /** current wheel indices */
   u32 current_index[TW_TIMER_WHEELS];
 
@@ -238,6 +235,9 @@ u32 TW (tw_timer_start) (TWT (tw_timer_wheel) * tw,
                         u32 pool_index, u32 timer_id, u64 interval);
 
 void TW (tw_timer_stop) (TWT (tw_timer_wheel) * tw, u32 handle);
+int TW (tw_timer_handle_is_free) (TWT (tw_timer_wheel) * tw, u32 handle);
+void TW (tw_timer_update) (TWT (tw_timer_wheel) * tw, u32 handle,
+                          u64 interval);
 
 void TW (tw_timer_wheel_init) (TWT (tw_timer_wheel) * tw,
                               void *expired_timer_callback,