Go to the source code of this file.
|
u8 * | format_nsh_pop_header (u8 *s, va_list *args) |
|
u8 * | format_nsh_pop_node_map_trace (u8 *s, va_list *args) |
|
static uword | unformat_nsh_action (unformat_input_t *input, va_list *args) |
|
static u8 * | format_nsh_action (u8 *s, va_list *args) |
|
u8 * | format_nsh_map (u8 *s, va_list *args) |
|
static adj_index_t | nsh_get_adj_by_sw_if_index (u32 sw_if_index) |
|
static clib_error_t * | nsh_add_del_map_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| CLI command for NSH map. More...
|
|
static clib_error_t * | show_nsh_map_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| CLI command for showing the mapping between NSH entries. More...
|
|
static clib_error_t * | nsh_add_del_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| CLI command for adding NSH entry. More...
|
|
u8 * | format_nsh_header (u8 *s, va_list *args) |
|
u8 * | format_nsh_node_map_trace (u8 *s, va_list *args) |
|
static clib_error_t * | show_nsh_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ format_nsh_action()
static u8* format_nsh_action |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_nsh_header()
u8* format_nsh_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_nsh_map()
u8* format_nsh_map |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_nsh_node_map_trace()
u8* format_nsh_node_map_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_nsh_pop_header()
u8* format_nsh_pop_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_nsh_pop_node_map_trace()
u8* format_nsh_pop_node_map_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ nsh_add_del_entry_command_fn()
CLI command for adding NSH entry.
Definition at line 339 of file nsh_cli.c.
◆ nsh_add_del_map_command_fn()
CLI command for NSH map.
Definition at line 161 of file nsh_cli.c.
◆ nsh_get_adj_by_sw_if_index()
◆ show_nsh_entry_command_fn()
◆ show_nsh_map_command_fn()
CLI command for showing the mapping between NSH entries.
Definition at line 308 of file nsh_cli.c.
◆ unformat_nsh_action()
◆ create_nsh_entry_command
Initial value:= {
.path = "create nsh entry",
.short_help =
"create nsh entry {nsp <nn> nsi <nn>} [ttl <nn>] [md-type <nn>]"
" [c1 <nn> c2 <nn> c3 <nn> c4 <nn>] [tlv-ioam-trace] [del]\n",
}
static clib_error_t * nsh_add_del_entry_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
CLI command for adding NSH entry.
(constructor) VLIB_CLI_COMMAND (create_nsh_entry_command)
Definition at line 501 of file nsh_cli.c.
◆ create_nsh_map_command
Initial value:= {
.path = "create nsh map",
.short_help =
"create nsh map nsp <nn> nsi <nn> [del] mapped-nsp <nn> mapped-nsi <nn> nsh_action [swap|push|pop] "
"[encap-gre4-intf <nn> | encap-gre4-intf <nn> | encap-vxlan-gpe-intf <nn> | encap-lisp-gpe-intf <nn> "
" encap-vxlan4-intf <nn> | encap-vxlan6-intf <nn>| encap-eth-intf <nn> | encap-none]\n",
}
static clib_error_t * nsh_add_del_map_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
CLI command for NSH map.
(constructor) VLIB_CLI_COMMAND (create_nsh_map_command)
Definition at line 294 of file nsh_cli.c.
◆ show_nsh_entry_command
Initial value:= {
.path = "show nsh entry",
}
static clib_error_t * show_nsh_entry_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_nsh_entry_command)
Definition at line 633 of file nsh_cli.c.
◆ show_nsh_map_command
Initial value:= {
.path = "show nsh map",
}
static clib_error_t * show_nsh_map_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
CLI command for showing the mapping between NSH entries.
(constructor) VLIB_CLI_COMMAND (show_nsh_map_command)
Definition at line 329 of file nsh_cli.c.