18 #ifndef include_vnet_trace_util_h 19 #define include_vnet_trace_util_h 21 #define debug_ioam debug_ioam_fn 94 #define BIT_TTL_NODEID (1<<0) 95 #define BIT_ING_INTERFACE (1<<1) 96 #define BIT_EGR_INTERFACE (1<<2) 97 #define BIT_TIMESTAMP (1<<3) 98 #define BIT_APPDATA (1<<4) 99 #define TRACE_TYPE_MASK 0x1F 117 #define TRACE_TYPE_IF_TS_APP 0x1f 139 #define TRACE_TYPE_IF 0x03 159 #define TRACE_TYPE_TS 0x09 180 #define TRACE_TYPE_APP 0x11 201 #define TRACE_TYPE_TS_APP 0x19 214 u8 trace_data_size = 0;
227 return trace_data_size;
234 #define TSP_SECONDS 0 235 #define TSP_MILLISECONDS 1 236 #define TSP_MICROSECONDS 2 237 #define TSP_NANOSECONDS 3
#define TRACE_TYPE_IF_TS_APP
int trace_util_init(void)
int ip6_trace_profile_cleanup(void)
int ioam_trace_get_sizeof_handler(u32 *result)
static u8 fetch_trace_data_size(u8 trace_type)
#define TRACE_TYPE_TS_APP
void clear_trace_profiles(void)
int ip6_trace_profile_setup(void)
static trace_profile * trace_profile_find(void)
int trace_profile_create(trace_profile *profile, u8 trace_type, u8 num_elts, u32 trace_tsp, u32 node_id, u32 app_data)
struct trace_profile_ trace_profile
Usage: