feature: Add packet trace API
[vpp.git] / src / vlib / trace.h
index 233c0ea..54b7c29 100644 (file)
@@ -113,6 +113,12 @@ typedef struct
 format_function_t format_vlib_trace;
 
 void trace_apply_filter (struct vlib_main_t *vm);
+int trace_time_cmp (void *a1, void *a2);
+void vlib_trace_stop_and_clear (void);
+int vlib_enable_disable_pkt_trace_filter (int enable) __attribute__ ((weak));
+void trace_update_capture_options (u32 add, u32 node_index,
+                                  u32 filter, u8 verbose);
+void trace_filter_set (u32 node_index, u32 flag, u32 count);
 
 #endif /* included_vlib_trace_h */