FD.io VPP  v20.09-64-g4f7b92f0a
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 u8format_ipip_tunnel_key (u8 *s, va_list *args)
 
static clib_error_tipip_tunnel_hash_show (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 ipip_tunnel_hash_show_node
 show IPSEC tunnel protection hash tables 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 293 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 125 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 368 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 176 of file ipip_cli.c.

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

◆ format_ipip_tunnel_key()

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

Definition at line 250 of file ipip_cli.c.

+ Here is the call graph for this function:

◆ ipip_tunnel_hash_show()

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

Definition at line 263 of file ipip_cli.c.

◆ 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 212 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 163 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:293

(constructor) VLIB_CLI_COMMAND (create_sixrd_tunnel_command)

Definition at line 404 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:125

(constructor) VLIB_CLI_COMMAND (delete_ipip_tunnel_command)

Definition at line 169 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:368

(constructor) VLIB_CLI_COMMAND (delete_sixrd_tunnel_command)

Definition at line 411 of file ipip_cli.c.

◆ ipip_tunnel_hash_show_node

vlib_cli_command_t ipip_tunnel_hash_show_node
static
Initial value:
=
{
.path = "show ipip tunnel-hash",
.function = ipip_tunnel_hash_show,
.short_help = "show ipip tunnel-hash",
}
static clib_error_t * ipip_tunnel_hash_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ipip_cli.c:263

show IPSEC tunnel protection hash tables

(constructor) VLIB_CLI_COMMAND (ipip_tunnel_hash_show_node)

Definition at line 285 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:212

(constructor) VLIB_CLI_COMMAND (show_ipip_tunnel_command)

Definition at line 243 of file ipip_cli.c.