Go to the source code of this file.
|
typedef | CLIB_PACKED (struct{u16 class;u8 type;u8 length;u8 data_list_elts_left;u16 ioam_trace_type;u8 reserve;u32 elts[0];}) |
|
static trace_profile * | nsh_trace_profile_find (void) |
|
static void | nsh_md2_ioam_trace_stats_increment_counter (u32 counter_index, u64 increment) |
|
static u8 * | format_ioam_data_list_element (u8 *s, va_list *args) |
|
int | nsh_md2_ioam_trace_rewrite_handler (u8 *rewrite_string, u8 *rewrite_size) |
|
int | nsh_md2_ioam_trace_data_list_handler (vlib_buffer_t *b, nsh_tlv_header_t *opt) |
|
u8 * | nsh_md2_ioam_trace_data_list_trace_handler (u8 *s, nsh_tlv_header_t *opt) |
|
int | nsh_md2_ioam_trace_swap_handler (vlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt) |
|
static clib_error_t * | nsh_md2_ioam_show_ioam_trace_cmd_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | nsh_md2_ioam_trace_pop_handler (vlib_buffer_t *b, nsh_tlv_header_t *opt) |
|
static clib_error_t * | nsh_md2_ioam_trace_init (vlib_main_t *vm) |
|
int | nsh_md2_ioam_trace_profile_cleanup (void) |
|
static int | nsh_md2_ioam_trace_get_sizeof_handler (u32 *result) |
|
int | nsh_md2_ioam_trace_profile_setup (void) |
|
#define foreach_nsh_md2_ioam_trace_stats |
Value:_(SUCCESS, "Pkts updated with TRACE records") \
_(FAILED, "Errors in TRACE due to lack of TRACE records")
#define NSH_MD2_IOAM_TRACE_SIZE_DUMMY 20 |
typedef CLIB_PACKED |
( |
struct{u16 class;u8 type;u8 length;u8 data_list_elts_left;u16 ioam_trace_type;u8 reserve;u32 elts[0];} |
| ) |
|
static u8* format_ioam_data_list_element |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
int nsh_md2_ioam_trace_data_list_handler |
( |
vlib_buffer_t * |
b, |
|
|
nsh_tlv_header_t * |
opt |
|
) |
| |
u8* nsh_md2_ioam_trace_data_list_trace_handler |
( |
u8 * |
s, |
|
|
nsh_tlv_header_t * |
opt |
|
) |
| |
static int nsh_md2_ioam_trace_get_sizeof_handler |
( |
u32 * |
result | ) |
|
|
static |
int nsh_md2_ioam_trace_pop_handler |
( |
vlib_buffer_t * |
b, |
|
|
nsh_tlv_header_t * |
opt |
|
) |
| |
int nsh_md2_ioam_trace_profile_cleanup |
( |
void |
| ) |
|
int nsh_md2_ioam_trace_profile_setup |
( |
void |
| ) |
|
int nsh_md2_ioam_trace_rewrite_handler |
( |
u8 * |
rewrite_string, |
|
|
u8 * |
rewrite_size |
|
) |
| |
static void nsh_md2_ioam_trace_stats_increment_counter |
( |
u32 |
counter_index, |
|
|
u64 |
increment |
|
) |
| |
|
inlinestatic |
int nsh_md2_ioam_trace_swap_handler |
( |
vlib_buffer_t * |
b, |
|
|
nsh_tlv_header_t * |
old_opt, |
|
|
nsh_tlv_header_t * |
new_opt |
|
) |
| |
Initial value:= {
.path = "show ioam nsh-lisp-gpe trace",
.short_help = "iOAM trace statistics",
}
static clib_error_t * nsh_md2_ioam_show_ioam_trace_cmd_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (nsh_md2_ioam_show_ioam_trace_cmd)
Definition at line 338 of file nsh_md2_ioam_trace.c.
f64 trace_tsp_mul[4] = { 1, 1e3, 1e6, 1e9 } |
|
static |