Go to the source code of this file.
|
static void | init_oam_packet_template (oam_main_t *om, oam_target_t *t) |
|
int | vpe_oam_add_del_target (ip4_address_t *src_address, ip4_address_t *dst_address, u32 fib_id, int is_add) |
|
static clib_error_t * | oam_add_del_target_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static uword | oam_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f_arg) |
|
static clib_error_t * | oam_config (vlib_main_t *vm, unformat_input_t *input) |
|
static clib_error_t * | oam_init (vlib_main_t *vm) |
|
static u8 * | format_oam_target (u8 *s, va_list *args) |
|
static clib_error_t * | show_oam_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_swap_trace (u8 *s, va_list *args) |
|
static uword | oam_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
#define foreach_oam_error |
Value:_(PROCESSED, "vpe icmp4 oam replies processed") \
_(DROPPED, "icmp4 replies dropped (no registration)")
Definition at line 407 of file oam.c.
Enumerator |
---|
OAM_NEXT_DROP |
|
OAM_NEXT_PUNT |
|
OAM_N_NEXT |
|
Definition at line 440 of file oam.c.
static u8* format_oam_target |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_swap_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Definition at line 22 of file oam.c.
Definition at line 60 of file oam.c.
Initial value:= {
.path = "oam",
.short_help = "oam [add|del] target <ip4-address> fib <fib-id>",
}
static clib_error_t * oam_add_del_target_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (oam_add_del_target_command)
Definition at line 153 of file oam.c.
char* oam_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_oam_error
Definition at line 419 of file oam.c.
Definition at line 17 of file oam.c.
Initial value:= {
.name = "vpe-icmp4-oam",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword oam_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * oam_error_strings[]
static u8 * format_swap_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (oam_node)
Definition at line 19 of file oam.c.
Initial value:= {
.name = "vpe-oam-process",
}
static uword oam_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f_arg)
(constructor) VLIB_REGISTER_NODE (oam_process_node)
Definition at line 284 of file oam.c.
Initial value:= {
.path = "show oam",
.short_help = "show oam",
}
static clib_error_t * show_oam_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_oam_command)
Definition at line 380 of file oam.c.