Go to the source code of this file.
|
static clib_error_t * | wg_if_create_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | wg_if_delete_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | wg_peer_add_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | wg_peer_remove_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static walk_rc_t | wg_peer_show_one (index_t peeri, void *arg) |
|
static clib_error_t * | wg_show_peer_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static walk_rc_t | wg_if_show_one (index_t itfi, void *arg) |
|
static clib_error_t * | wg_show_if_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ wg_if_create_cli()
◆ wg_if_delete_cli()
◆ wg_if_show_one()
◆ wg_peer_add_command_fn()
◆ wg_peer_remove_command_fn()
◆ wg_peer_show_one()
◆ wg_show_if_command_fn()
◆ wg_show_peer_command_fn()
◆ wg_if_create_command
Initial value:= {
.path = "wireguard create",
.short_help = "wireguard create listen-port <port> "
"private-key <key> src <IP> [generate-key]",
}
(constructor) VLIB_CLI_COMMAND (wg_if_create_command)
Definition at line 98 of file wireguard_cli.c.
◆ wg_if_delete_command
Initial value:= {
.path = "wireguard delete",
.short_help = "wireguard delete <interface>",
}
(constructor) VLIB_CLI_COMMAND (wg_if_delete_command)
Definition at line 147 of file wireguard_cli.c.
◆ wg_peer_add_command
Initial value:=
{
.path = "wireguard peer add",
.short_help = "wireguard peer add <wg_int> public-key <pub_key_other>"
"endpoint <ip4_dst> allowed-ip <prefix>"
"dst-port [port_dst] persistent-keepalive [keepalive_interval]",
}
(constructor) VLIB_CLI_COMMAND (wg_peer_add_command)
Definition at line 257 of file wireguard_cli.c.
◆ wg_peer_remove_command
Initial value:=
{
.path = "wireguard peer remove",
.short_help = "wireguard peer remove <index>",
}
(constructor) VLIB_CLI_COMMAND (wg_peer_remove_command)
Definition at line 305 of file wireguard_cli.c.
◆ wg_show_itfs_command
Initial value:=
{
.path = "show wireguard interface",
.short_help = "show wireguard",
}
(constructor) VLIB_CLI_COMMAND (wg_show_itfs_command)
Definition at line 361 of file wireguard_cli.c.
◆ wg_show_peers_command
Initial value:=
{
.path = "show wireguard peer",
.short_help = "show wireguard peer",
}
(constructor) VLIB_CLI_COMMAND (wg_show_peers_command)
Definition at line 331 of file wireguard_cli.c.