FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
sixrd.c File Reference
+ Include dependency graph for sixrd.c:

Go to the source code of this file.

Functions

int sixrd_create_domain (ip6_address_t *ip6_prefix, u8 ip6_prefix_len, ip4_address_t *ip4_prefix, u8 ip4_prefix_len, ip4_address_t *ip4_src, u32 *sixrd_domain_index, u16 mtu)
 
int sixrd_delete_domain (u32 sixrd_domain_index)
 
static clib_error_tsixrd_add_domain_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsixrd_del_domain_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_sixrd_domain (u8 *s, va_list *args)
 
static clib_error_tshow_sixrd_domain_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_sixrd_stats_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
u8format_sixrd_trace (u8 *s, va_list *args)
 
 VLIB_PLUGIN_REGISTER ()
 
static clib_error_tsixrd_init (vlib_main_t *vm)
 

Variables

sixrd_main_t sixrd_main
 
static vlib_cli_command_t sixrd_add_domain_command
 (constructor) VLIB_CLI_COMMAND (sixrd_add_domain_command) More...
 
static vlib_cli_command_t sixrd_del_command
 (constructor) VLIB_CLI_COMMAND (sixrd_del_command) More...
 
static vlib_cli_command_t show_sixrd_domain_command
 (constructor) VLIB_CLI_COMMAND (show_sixrd_domain_command) More...
 
static vlib_cli_command_t show_sixrd_stats_command
 (constructor) VLIB_CLI_COMMAND (show_sixrd_stats_command) More...
 

Function Documentation

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

Definition at line 270 of file sixrd.c.

+ Here is the call graph for this function:

u8* format_sixrd_trace ( u8 s,
va_list *  args 
)

Definition at line 324 of file sixrd.c.

+ Here is the call graph for this function:

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

Definition at line 286 of file sixrd.c.

+ Here is the call graph for this function:

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

Definition at line 301 of file sixrd.c.

+ Here is the call graph for this function:

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

Definition at line 185 of file sixrd.c.

+ Here is the call graph for this function:

int sixrd_create_domain ( ip6_address_t ip6_prefix,
u8  ip6_prefix_len,
ip4_address_t ip4_prefix,
u8  ip4_prefix_len,
ip4_address_t ip4_src,
u32 sixrd_domain_index,
u16  mtu 
)

Definition at line 38 of file sixrd.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 233 of file sixrd.c.

+ Here is the call graph for this function:

int sixrd_delete_domain ( u32  sixrd_domain_index)

Definition at line 148 of file sixrd.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* sixrd_init ( vlib_main_t vm)
static

Definition at line 367 of file sixrd.c.

+ Here is the call graph for this function:

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

vlib_cli_command_t show_sixrd_domain_command
static
Initial value:
= {
.path = "show sixrd domain",
}
static clib_error_t * show_sixrd_domain_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: sixrd.c:286

(constructor) VLIB_CLI_COMMAND (show_sixrd_domain_command)

Definition at line 350 of file sixrd.c.

vlib_cli_command_t show_sixrd_stats_command
static
Initial value:
= {
.path = "show sixrd stats",
}
static clib_error_t * show_sixrd_stats_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: sixrd.c:301

(constructor) VLIB_CLI_COMMAND (show_sixrd_stats_command)

Definition at line 355 of file sixrd.c.

vlib_cli_command_t sixrd_add_domain_command
static
Initial value:
= {
.path = "sixrd add domain",
.short_help =
"sixrd add domain ip6-pfx <ip6-pfx> ip4-pfx <ip4-pfx> ip4-src <ip4-addr>",
}
static clib_error_t * sixrd_add_domain_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: sixrd.c:185

(constructor) VLIB_CLI_COMMAND (sixrd_add_domain_command)

Definition at line 336 of file sixrd.c.

vlib_cli_command_t sixrd_del_command
static
Initial value:
= {
.path = "sixrd del domain",
.short_help =
"sixrd del domain index <domain>",
}
static clib_error_t * sixrd_del_domain_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: sixrd.c:233

(constructor) VLIB_CLI_COMMAND (sixrd_del_command)

Definition at line 343 of file sixrd.c.

sixrd_main_t sixrd_main

Definition at line 35 of file sixrd.c.