Go to the source code of this file.
|
typedef | CLIB_PACKED (struct{ip6_hop_by_hop_option_t hdr;u8 ioam_trace_type;u8 data_list_elts_left;u32 elts[0];}) |
|
static void | ip6_ioam_trace_stats_increment_counter (u32 counter_index, u64 increment) |
|
static u8 * | format_ioam_data_list_element (u8 *s, va_list *args) |
|
int | ip6_ioam_trace_get_sizeof_handler (u32 *result) |
|
int | ip6_hop_by_hop_ioam_trace_rewrite_handler (u8 *rewrite_string, u8 *rewrite_size) |
|
int | ip6_hbh_ioam_trace_data_list_handler (vlib_buffer_t *b, ip6_header_t *ip, ip6_hop_by_hop_option_t *opt) |
|
u8 * | ip6_hbh_ioam_trace_data_list_trace_handler (u8 *s, ip6_hop_by_hop_option_t *opt) |
|
static clib_error_t * | ip6_show_ioam_trace_cmd_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | vlib_plugin_register (vlib_main_t *vm, vnet_plugin_handoff_t *h, int from_early_init) |
|
static clib_error_t * | ip6_hop_by_hop_ioam_trace_init (vlib_main_t *vm) |
|
int | ip6_trace_profile_cleanup (void) |
|
int | ip6_trace_profile_setup (void) |
|
#define foreach_ip6_hop_by_hop_ioam_trace_stats |
Value:_(PROCESSED, "Pkts with ip6 hop-by-hop trace options") \
_(PROFILE_MISS, "Pkts with ip6 hop-by-hop trace options but no profile set") \
_(UPDATED, "Pkts with trace updated") \
_(FULL, "Pkts with trace options but no space")
static u8* format_ioam_data_list_element |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
int ip6_hop_by_hop_ioam_trace_rewrite_handler |
( |
u8 * |
rewrite_string, |
|
|
u8 * |
rewrite_size |
|
) |
| |
int ip6_ioam_trace_get_sizeof_handler |
( |
u32 * |
result | ) |
|
static void ip6_ioam_trace_stats_increment_counter |
( |
u32 |
counter_index, |
|
|
u64 |
increment |
|
) |
| |
|
inlinestatic |
int ip6_trace_profile_cleanup |
( |
void |
| ) |
|
int ip6_trace_profile_setup |
( |
void |
| ) |
|
Initial value:= {
.path = "show ioam trace",
.short_help = "iOAM trace statistics",
}
static clib_error_t * ip6_show_ioam_trace_cmd_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_show_ioam_trace_cmd)
Definition at line 345 of file ip6_ioam_trace.c.
f64 trace_tsp_mul[4] = { 1, 1e3, 1e6, 1e9 } |
|
static |