tls: make picotls engine able to initial connection as client
[vpp.git] / src / plugins / ioam / lib-trace / trace_util.c
index b316a23..d935543 100644 (file)
 #include "trace_util.h"
 #include "trace_config.h"
 
-trace_main_t trace_main;
+__clib_export trace_main_t trace_main;
 
 static int
 trace_profile_cleanup (trace_profile * profile)
 {
 
-  memset (profile, 0, sizeof (trace_profile));
+  clib_memset (profile, 0, sizeof (trace_profile));
   profile->trace_tsp = TSP_MICROSECONDS;       /* Micro seconds */
   ip6_trace_profile_cleanup ();        /* lib-trace_TODO: Remove this once IOAM-IPv6 transport is a plugin */
   return 0;