FD.io VPP  v17.01.1-3-gc6833f8
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)
 
clib_error_tvlib_plugin_register (vlib_main_t *vm, vnet_plugin_handoff_t *h, int from_early_init)
 
static clib_error_tsixrd_init (vlib_main_t *vm)
 

Variables

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 253 of file sixrd.c.

+ Here is the call graph for this function:

u8* format_sixrd_trace ( u8 s,
va_list *  args 
)

Definition at line 307 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 269 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 284 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 182 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 35 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 223 of file sixrd.c.

+ Here is the call graph for this function:

int sixrd_delete_domain ( u32  sixrd_domain_index)

Definition at line 145 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 362 of file sixrd.c.

+ Here is the call graph for this function:

clib_error_t* vlib_plugin_register ( vlib_main_t vm,
vnet_plugin_handoff_t h,
int  from_early_init 
)

Definition at line 350 of file sixrd.c.

+ Here is the call graph for this function:

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:269

(constructor) VLIB_CLI_COMMAND (show_sixrd_domain_command)

Definition at line 333 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:284

(constructor) VLIB_CLI_COMMAND (show_sixrd_stats_command)

Definition at line 338 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:182

(constructor) VLIB_CLI_COMMAND (sixrd_add_domain_command)

Definition at line 319 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:223

(constructor) VLIB_CLI_COMMAND (sixrd_del_command)

Definition at line 326 of file sixrd.c.