FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
dslite_cli.c File Reference
+ Include dependency graph for dslite_cli.c:

Go to the source code of this file.

Macros

#define DSLITE_EXPECTED_ARGUMENT   "expected required argument(s)"
 

Functions

static clib_error_tdslite_add_del_pool_addr_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdslite_show_pool_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdslite_set_aftr_tunnel_addr_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdslite_show_aftr_ip6_addr_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdslite_set_b4_tunnel_addr_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdslite_show_b4_ip6_addr_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_dslite_session (u8 *s, va_list *args)
 
static u8format_dslite_b4 (u8 *s, va_list *args)
 
static clib_error_tdslite_show_sessions_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t dslite_add_pool_address_command
 (constructor) VLIB_CLI_COMMAND (dslite_add_pool_address_command) More...
 
static vlib_cli_command_t show_dslite_pool_command
 (constructor) VLIB_CLI_COMMAND (show_dslite_pool_command) More...
 
static vlib_cli_command_t dslite_set_aftr_tunnel_addr
 (constructor) VLIB_CLI_COMMAND (dslite_set_aftr_tunnel_addr) More...
 
static vlib_cli_command_t dslite_show_aftr_ip6_addr
 (constructor) VLIB_CLI_COMMAND (dslite_show_aftr_ip6_addr) More...
 
static vlib_cli_command_t dslite_set_b4_tunnel_addr
 (constructor) VLIB_CLI_COMMAND (dslite_set_b4_tunnel_addr) More...
 
static vlib_cli_command_t dslite_show_b4_ip6_addr
 (constructor) VLIB_CLI_COMMAND (dslite_show_b4_ip6_addr) More...
 
static vlib_cli_command_t dslite_show_sessions
 (constructor) VLIB_CLI_COMMAND (dslite_show_sessions) More...
 

Macro Definition Documentation

◆ DSLITE_EXPECTED_ARGUMENT

#define DSLITE_EXPECTED_ARGUMENT   "expected required argument(s)"

Definition at line 17 of file dslite_cli.c.

Function Documentation

◆ dslite_add_del_pool_addr_command_fn()

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

Definition at line 20 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ dslite_set_aftr_tunnel_addr_command_fn()

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

Definition at line 108 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ dslite_set_b4_tunnel_addr_command_fn()

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

Definition at line 159 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ dslite_show_aftr_ip6_addr_command_fn()

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

Definition at line 148 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ dslite_show_b4_ip6_addr_command_fn()

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

Definition at line 198 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ dslite_show_pool_command_fn()

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

Definition at line 89 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ dslite_show_sessions_command_fn()

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

Definition at line 262 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ format_dslite_b4()

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

Definition at line 228 of file dslite_cli.c.

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

◆ format_dslite_session()

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

Definition at line 209 of file dslite_cli.c.

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

Variable Documentation

◆ dslite_add_pool_address_command

vlib_cli_command_t dslite_add_pool_address_command
static
Initial value:
= {
.path = "dslite add pool address",
.short_help = "dslite add pool address <ip4-range-start> [- <ip4-range-end>] "
" [del]",
}

(constructor) VLIB_CLI_COMMAND (dslite_add_pool_address_command)

Definition at line 295 of file dslite_cli.c.

◆ dslite_set_aftr_tunnel_addr

vlib_cli_command_t dslite_set_aftr_tunnel_addr
static
Initial value:
= {
.path = "dslite set aftr-tunnel-endpoint-address",
.short_help = "dslite set aftr-tunnel-endpoint-address <ip6>",
}

(constructor) VLIB_CLI_COMMAND (dslite_set_aftr_tunnel_addr)

Definition at line 328 of file dslite_cli.c.

◆ dslite_set_b4_tunnel_addr

vlib_cli_command_t dslite_set_b4_tunnel_addr
static
Initial value:
= {
.path = "dslite set b4-tunnel-endpoint-address",
.short_help = "dslite set b4-tunnel-endpoint-address <ip6>",
}

(constructor) VLIB_CLI_COMMAND (dslite_set_b4_tunnel_addr)

Definition at line 356 of file dslite_cli.c.

◆ dslite_show_aftr_ip6_addr

vlib_cli_command_t dslite_show_aftr_ip6_addr
static
Initial value:
= {
.path = "show dslite aftr-tunnel-endpoint-address",
.short_help = "show dslite aftr-tunnel-endpoint-address",
}

(constructor) VLIB_CLI_COMMAND (dslite_show_aftr_ip6_addr)

Definition at line 342 of file dslite_cli.c.

◆ dslite_show_b4_ip6_addr

vlib_cli_command_t dslite_show_b4_ip6_addr
static
Initial value:
= {
.path = "show dslite b4-tunnel-endpoint-address",
.short_help = "show dslite b4-tunnel-endpoint-address",
}

(constructor) VLIB_CLI_COMMAND (dslite_show_b4_ip6_addr)

Definition at line 370 of file dslite_cli.c.

◆ dslite_show_sessions

vlib_cli_command_t dslite_show_sessions
static
Initial value:
= {
.path = "show dslite sessions",
.short_help = "show dslite sessions",
}

(constructor) VLIB_CLI_COMMAND (dslite_show_sessions)

Definition at line 391 of file dslite_cli.c.

◆ show_dslite_pool_command

vlib_cli_command_t show_dslite_pool_command
static
Initial value:
= {
.path = "show dslite pool",
.short_help = "show dslite pool",
}

(constructor) VLIB_CLI_COMMAND (show_dslite_pool_command)

Definition at line 314 of file dslite_cli.c.

dslite_show_pool_command_fn
static clib_error_t * dslite_show_pool_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:89
dslite_set_aftr_tunnel_addr_command_fn
static clib_error_t * dslite_set_aftr_tunnel_addr_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:108
dslite_set_b4_tunnel_addr_command_fn
static clib_error_t * dslite_set_b4_tunnel_addr_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:159
dslite_show_b4_ip6_addr_command_fn
static clib_error_t * dslite_show_b4_ip6_addr_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:198
dslite_show_sessions_command_fn
static clib_error_t * dslite_show_sessions_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:262
dslite_show_aftr_ip6_addr_command_fn
static clib_error_t * dslite_show_aftr_ip6_addr_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:148
dslite_add_del_pool_addr_command_fn
static clib_error_t * dslite_add_del_pool_addr_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: dslite_cli.c:20