Go to the source code of this file.
|
void | get_interface_ethernet_address (l2t_main_t *lm, u8 *dst, u32 sw_if_index) |
|
u8 * | format_l2t_trace (u8 *s, va_list *args) |
|
u8 * | format_l2t_session (u8 *s, va_list *args) |
|
static clib_error_t * | show_session_summary_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_session_detail_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | test_counters_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_counters_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2tp_session_add_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2tp_session_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2tp_session_cookie_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8* format_l2t_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 68 of file l2t.c.
u8* format_l2t_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 49 of file l2t.c.
Definition at line 36 of file l2t.c.
Initial value:= {
.path = "clear counters",
.short_help = "clear all active counters",
}
static clib_error_t * clear_counters_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (clear_counters_command)
Definition at line 218 of file l2t.c.
Definition at line 29 of file l2t.c.
Initial value:= {
.path = "l2tp session add",
.short_help =
"l2tp session add client <ip6> our <ip6> vlan <id> local-cookie <hex> remote-cookie <hex> local-session <dec> remote-session <dec> l2-interface <int>",
}
static clib_error_t * l2tp_session_add_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (l2tp_session_add_command)
Definition at line 389 of file l2t.c.
Initial value:= {
.path = "l2tp session cookie",
.short_help =
"l2tp session cookie <session id> commit|rollover [local <hex>] [remote <hex>]",
}
static clib_error_t * l2tp_session_cookie_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (l2tp_session_cookie_command)
Definition at line 511 of file l2t.c.
Initial value:= {
.path = "l2tp session delete",
.short_help =
"l2tp session delete <session-id>",
}
static clib_error_t * l2tp_session_del_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (l2tp_session_del_command)
Definition at line 458 of file l2t.c.
Initial value:= {
.path = "show session detail",
.short_help = "show session table detail",
}
static clib_error_t * show_session_detail_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_session_detail_command)
Definition at line 148 of file l2t.c.
Initial value:= {
.path = "show session",
.short_help = "show session summary",
}
static clib_error_t * show_session_summary_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_session_summary_command)
Definition at line 126 of file l2t.c.
Initial value:= {
.path = "test counters",
.short_help = "increment all active counters",
}
static clib_error_t * test_counters_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (test_counters_command)
Definition at line 185 of file l2t.c.