FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
ipip_cli.c File Reference
+ Include dependency graph for ipip_cli.c:

Go to the source code of this file.

Functions

static clib_error_tcreate_ipip_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdelete_ipip_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_ipip_tunnel (u8 *s, va_list *args)
 
static clib_error_tshow_ipip_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tcreate_sixrd_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdelete_sixrd_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t create_ipip_tunnel_command
 (constructor) VLIB_CLI_COMMAND (create_ipip_tunnel_command) More...
 
static vlib_cli_command_t delete_ipip_tunnel_command
 (constructor) VLIB_CLI_COMMAND (delete_ipip_tunnel_command) More...
 
static vlib_cli_command_t show_ipip_tunnel_command
 (constructor) VLIB_CLI_COMMAND (show_ipip_tunnel_command) More...
 
static vlib_cli_command_t create_sixrd_tunnel_command
 (constructor) VLIB_CLI_COMMAND (create_sixrd_tunnel_command) More...
 
static vlib_cli_command_t delete_sixrd_tunnel_command
 (constructor) VLIB_CLI_COMMAND (delete_sixrd_tunnel_command) More...
 

Function Documentation

◆ create_ipip_tunnel_command_fn()

static clib_error_t* create_ipip_tunnel_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 21 of file ipip_cli.c.

+ Here is the call graph for this function:

◆ create_sixrd_tunnel_command_fn()

static clib_error_t* create_sixrd_tunnel_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 238 of file ipip_cli.c.

+ Here is the call graph for this function:

◆ delete_ipip_tunnel_command_fn()

static clib_error_t* delete_ipip_tunnel_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 118 of file ipip_cli.c.

+ Here is the call graph for this function:

◆ delete_sixrd_tunnel_command_fn()

static clib_error_t* delete_sixrd_tunnel_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 313 of file ipip_cli.c.

+ Here is the call graph for this function:

◆ format_ipip_tunnel()

static u8* format_ipip_tunnel ( u8 s,
va_list *  args 
)
static

Definition at line 169 of file ipip_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ show_ipip_tunnel_command_fn()

static clib_error_t* show_ipip_tunnel_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 201 of file ipip_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ create_ipip_tunnel_command

vlib_cli_command_t create_ipip_tunnel_command
static
Initial value:
= {
.path = "create ipip tunnel",
.short_help = "create ipip tunnel src <addr> dst <addr> [instance <n>] "
"[outer-table-id <ID>]",
}
static clib_error_t * create_ipip_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ipip_cli.c:21

(constructor) VLIB_CLI_COMMAND (create_ipip_tunnel_command)

Definition at line 156 of file ipip_cli.c.

◆ create_sixrd_tunnel_command

vlib_cli_command_t create_sixrd_tunnel_command
static
Initial value:
= {
.path = "create 6rd tunnel",
.short_help = "create 6rd tunnel ip6-pfx <ip6-pfx> ip4-pfx <ip4-pfx> "
"ip4-src <ip4-addr> ip4-table-id <ID> ip6-table-id <ID> "
"[security-check]",
}
static clib_error_t * create_sixrd_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ipip_cli.c:238

(constructor) VLIB_CLI_COMMAND (create_sixrd_tunnel_command)

Definition at line 349 of file ipip_cli.c.

◆ delete_ipip_tunnel_command

vlib_cli_command_t delete_ipip_tunnel_command
static
Initial value:
= {
.path = "delete ipip tunnel",
.short_help = "delete ipip tunnel sw_if_index <sw_if_index>",
}
static clib_error_t * delete_ipip_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ipip_cli.c:118

(constructor) VLIB_CLI_COMMAND (delete_ipip_tunnel_command)

Definition at line 162 of file ipip_cli.c.

◆ delete_sixrd_tunnel_command

vlib_cli_command_t delete_sixrd_tunnel_command
static
Initial value:
= {
.path = "delete 6rd tunnel",
.short_help = "delete 6rd tunnel sw_if_index <sw_if_index>",
}
static clib_error_t * delete_sixrd_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ipip_cli.c:313

(constructor) VLIB_CLI_COMMAND (delete_sixrd_tunnel_command)

Definition at line 356 of file ipip_cli.c.

◆ show_ipip_tunnel_command

vlib_cli_command_t show_ipip_tunnel_command
static
Initial value:
= {
.path = "show ipip tunnel",
}
static clib_error_t * show_ipip_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ipip_cli.c:201

(constructor) VLIB_CLI_COMMAND (show_ipip_tunnel_command)

Definition at line 232 of file ipip_cli.c.