FD.io VPP  v17.04.2-2-ga8f93f8
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

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

+ Here is the call graph for this function:

u8* format_sixrd_trace ( u8 s,
va_list *  args 
)

Definition at line 322 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 284 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 299 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 183 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 36 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 231 of file sixrd.c.

+ Here is the call graph for this function:

int sixrd_delete_domain ( u32  sixrd_domain_index)

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

(constructor) VLIB_CLI_COMMAND (show_sixrd_domain_command)

Definition at line 348 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:299

(constructor) VLIB_CLI_COMMAND (show_sixrd_stats_command)

Definition at line 353 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:183

(constructor) VLIB_CLI_COMMAND (sixrd_add_domain_command)

Definition at line 334 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:231

(constructor) VLIB_CLI_COMMAND (sixrd_del_command)

Definition at line 341 of file sixrd.c.