FD.io VPP  v16.09
Vector Packet Processing
ikev2_cli.c File Reference
+ Include dependency graph for ikev2_cli.c:

Go to the source code of this file.

Functions

u8format_ikev2_id_type_and_data (u8 *s, va_list *args)
 
static clib_error_tshow_ikev2_sa_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tikev2_profile_add_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_ikev2_profile_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_ikev2_local_key_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tikev2_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t show_ikev2_sa_command
 (constructor) VLIB_CLI_COMMAND (show_ikev2_sa_command) More...
 
static vlib_cli_command_t ikev2_profile_add_del_command
 (constructor) VLIB_CLI_COMMAND (ikev2_profile_add_del_command) More...
 
static vlib_cli_command_t show_ikev2_profile_command
 (constructor) VLIB_CLI_COMMAND (show_ikev2_profile_command) More...
 
static vlib_cli_command_t set_ikev2_local_key_command
 (constructor) VLIB_CLI_COMMAND (set_ikev2_local_key_command) More...
 

Function Documentation

u8* format_ikev2_id_type_and_data ( u8 s,
va_list *  args 
)

Definition at line 24 of file ikev2_cli.c.

+ Here is the call graph for this function:

clib_error_t* ikev2_cli_init ( vlib_main_t vm)

Definition at line 466 of file ikev2_cli.c.

+ Here is the caller graph for this function:

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

Definition at line 172 of file ikev2_cli.c.

+ Here is the call graph for this function:

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

Definition at line 425 of file ikev2_cli.c.

+ Here is the call graph for this function:

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

Definition at line 341 of file ikev2_cli.c.

+ Here is the call graph for this function:

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

Definition at line 50 of file ikev2_cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t ikev2_profile_add_del_command
static
Initial value:
= {
.path = "ikev2 profile",
.short_help =
"ikev2 profile [add|del] <id>\n"
"ikev2 profile set <id> auth [rsa-sig|shared-key-mic] [cert-file|string|hex]"
" <data>\n"
"ikev2 profile set <id> id <local|remote> <type> <data>\n"
"ikev2 profile set <id> traffic-selector <local|remote> ip-range "
"<start-addr> - <end-addr> port-range <start-port> - <end-port> "
"protocol <protocol-number>",
}
static clib_error_t * ikev2_profile_add_del_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ikev2_cli.c:172

(constructor) VLIB_CLI_COMMAND (ikev2_profile_add_del_command)

Definition at line 326 of file ikev2_cli.c.

vlib_cli_command_t set_ikev2_local_key_command
static
Initial value:
= {
.path = "set ikev2 local key",
.short_help =
"set ikev2 local key <file>",
}
static clib_error_t * set_ikev2_local_key_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ikev2_cli.c:425

(constructor) VLIB_CLI_COMMAND (set_ikev2_local_key_command)

Definition at line 457 of file ikev2_cli.c.

vlib_cli_command_t show_ikev2_profile_command
static
Initial value:
= {
.path = "show ikev2 profile",
.short_help = "show ikev2 profile",
}
static clib_error_t * show_ikev2_profile_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ikev2_cli.c:341

(constructor) VLIB_CLI_COMMAND (show_ikev2_profile_command)

Definition at line 417 of file ikev2_cli.c.

vlib_cli_command_t show_ikev2_sa_command
static
Initial value:
= {
.path = "show ikev2 sa",
.short_help = "show ikev2 sa",
}
static clib_error_t * show_ikev2_sa_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: ikev2_cli.c:50

(constructor) VLIB_CLI_COMMAND (show_ikev2_sa_command)

Definition at line 164 of file ikev2_cli.c.