Go to the source code of this file.
|
static u8 * | format_gre_tunnel (u8 *s, va_list *args) |
|
static gre_tunnel_t * | gre_tunnel_db_find (const vnet_gre_add_del_tunnel_args_t *a, u32 outer_fib_index, gre_tunnel_key_t *key) |
|
static void | gre_tunnel_db_add (gre_tunnel_t *t, gre_tunnel_key_t *key) |
|
static void | gre_tunnel_db_remove (gre_tunnel_t *t) |
|
void | gre_tunnel_stack (adj_index_t ai) |
| gre_tunnel_stack More...
|
|
static adj_walk_rc_t | gre_adj_walk_cb (adj_index_t ai, void *ctx) |
| Call back when restacking all adjacencies on a GRE interface. More...
|
|
static void | gre_tunnel_restack (gre_tunnel_t *gt) |
|
static int | vnet_gre_tunnel_add (vnet_gre_add_del_tunnel_args_t *a, u32 outer_fib_index, u32 *sw_if_indexp) |
|
static int | vnet_gre_tunnel_delete (vnet_gre_add_del_tunnel_args_t *a, u32 outer_fib_index, u32 *sw_if_indexp) |
|
int | vnet_gre_add_del_tunnel (vnet_gre_add_del_tunnel_args_t *a, u32 *sw_if_indexp) |
|
clib_error_t * | gre_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static clib_error_t * | create_gre_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_gre_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | gre_interface_init (vlib_main_t *vm) |
|
◆ create_gre_tunnel_command_fn()
◆ format_gre_tunnel()
static u8* format_gre_tunnel |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gre_adj_walk_cb()
Call back when restacking all adjacencies on a GRE interface.
Definition at line 153 of file interface.c.
◆ gre_interface_admin_up_down()
◆ gre_interface_init()
◆ gre_tunnel_db_add()
◆ gre_tunnel_db_find()
◆ gre_tunnel_db_remove()
◆ gre_tunnel_restack()
◆ gre_tunnel_stack()
gre_tunnel_stack
'stack' (resolve the recursion for) the tunnel's midchain adjacency
Definition at line 121 of file interface.c.
◆ show_gre_tunnel_command_fn()
◆ vnet_gre_add_del_tunnel()
◆ vnet_gre_tunnel_add()
◆ vnet_gre_tunnel_delete()
◆ create_gre_tunnel_command
Initial value:= {
.path = "create gre tunnel",
.short_help = "create gre tunnel src <addr> dst <addr> [instance <n>] "
"[outer-fib-id <fib>] [teb | erspan <session-id>] [del]",
}
static clib_error_t * create_gre_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (create_gre_tunnel_command)
Definition at line 568 of file interface.c.
◆ gre_tunnel_type_names
◆ show_gre_tunnel_command
Initial value:= {
.path = "show gre tunnel",
}
static clib_error_t * show_gre_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_gre_tunnel_command)
Definition at line 616 of file interface.c.