FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
dslite_cli.c File Reference
+ Include dependency graph for dslite_cli.c:

Go to the source code of this file.

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_nat_protocol (u8 *s, va_list *args)
 
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...
 

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 18 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 106 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 157 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 146 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 196 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 87 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 279 of file dslite_cli.c.

◆ format_dslite_b4()

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

Definition at line 245 of file dslite_cli.c.

+ Here is the call graph for this function:

◆ format_dslite_session()

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

Definition at line 226 of file dslite_cli.c.

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

◆ format_nat_protocol()

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

Definition at line 207 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]",
}
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:18

(constructor) VLIB_CLI_COMMAND (dslite_add_pool_address_command)

Definition at line 312 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>",
}
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:106

(constructor) VLIB_CLI_COMMAND (dslite_set_aftr_tunnel_addr)

Definition at line 345 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>",
}
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:157

(constructor) VLIB_CLI_COMMAND (dslite_set_b4_tunnel_addr)

Definition at line 373 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",
}
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:146

(constructor) VLIB_CLI_COMMAND (dslite_show_aftr_ip6_addr)

Definition at line 359 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",
}
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:196

(constructor) VLIB_CLI_COMMAND (dslite_show_b4_ip6_addr)

Definition at line 387 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",
}
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:279

(constructor) VLIB_CLI_COMMAND (dslite_show_sessions)

Definition at line 408 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",
}
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:87

(constructor) VLIB_CLI_COMMAND (show_dslite_pool_command)

Definition at line 331 of file dslite_cli.c.