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) |
|
◆ foreach_nsh_md2_ioam_trace_stats
#define foreach_nsh_md2_ioam_trace_stats |
Value:_(SUCCESS, "Pkts updated with TRACE records") \
_(FAILED, "Errors in TRACE due to lack of TRACE records")
◆ NSH_MD2_IOAM_TRACE_SIZE_DUMMY
#define NSH_MD2_IOAM_TRACE_SIZE_DUMMY 20 |
◆ nsh_md2_ioam_trace_stats_t
◆ CLIB_PACKED()
◆ format_ioam_data_list_element()
static u8* format_ioam_data_list_element |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ nsh_md2_ioam_show_ioam_trace_cmd_fn()
◆ nsh_md2_ioam_trace_data_list_handler()
int nsh_md2_ioam_trace_data_list_handler |
( |
vlib_buffer_t * |
b, |
|
|
nsh_tlv_header_t * |
opt |
|
) |
| |
◆ nsh_md2_ioam_trace_data_list_trace_handler()
u8* nsh_md2_ioam_trace_data_list_trace_handler |
( |
u8 * |
s, |
|
|
nsh_tlv_header_t * |
opt |
|
) |
| |
◆ nsh_md2_ioam_trace_get_sizeof_handler()
static int nsh_md2_ioam_trace_get_sizeof_handler |
( |
u32 * |
result | ) |
|
|
static |
◆ nsh_md2_ioam_trace_init()
◆ nsh_md2_ioam_trace_pop_handler()
int nsh_md2_ioam_trace_pop_handler |
( |
vlib_buffer_t * |
b, |
|
|
nsh_tlv_header_t * |
opt |
|
) |
| |
◆ nsh_md2_ioam_trace_profile_cleanup()
int nsh_md2_ioam_trace_profile_cleanup |
( |
void |
| ) |
|
◆ nsh_md2_ioam_trace_profile_setup()
int nsh_md2_ioam_trace_profile_setup |
( |
void |
| ) |
|
◆ nsh_md2_ioam_trace_rewrite_handler()
int nsh_md2_ioam_trace_rewrite_handler |
( |
u8 * |
rewrite_string, |
|
|
u8 * |
rewrite_size |
|
) |
| |
◆ nsh_md2_ioam_trace_stats_increment_counter()
static void nsh_md2_ioam_trace_stats_increment_counter |
( |
u32 |
counter_index, |
|
|
u64 |
increment |
|
) |
| |
|
inlinestatic |
◆ nsh_md2_ioam_trace_swap_handler()
int nsh_md2_ioam_trace_swap_handler |
( |
vlib_buffer_t * |
b, |
|
|
nsh_tlv_header_t * |
old_opt, |
|
|
nsh_tlv_header_t * |
new_opt |
|
) |
| |
◆ nsh_trace_profile_find()
◆ nsh_md2_ioam_show_ioam_trace_cmd
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 337 of file nsh_md2_ioam_trace.c.
◆ nsh_md2_ioam_trace_main
◆ nsh_trace_main
◆ trace_tsp_mul
f64 trace_tsp_mul[4] = { 1, 1e3, 1e6, 1e9 } |
|
static |