FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
mfib_types.c File Reference
+ Include dependency graph for mfib_types.c:

Go to the source code of this file.

Functions

u8format_mfib_prefix (u8 *s, va_list *args)
 
u8format_mfib_entry_flags (u8 *s, va_list *args)
 
u8format_mfib_itf_flags (u8 *s, va_list *args)
 
uword unformat_mfib_itf_flags (unformat_input_t *input, va_list *args)
 
uword unformat_mfib_entry_flags (unformat_input_t *input, va_list *args)
 
clib_error_tmfib_show_route_flags (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
 
clib_error_tmfib_show_itf_flags (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
 

Variables

static const char * mfib_flag_names [] = MFIB_ENTRY_NAMES_SHORT
 String names for each flag. More...
 
static const char * mfib_flag_names_long [] = MFIB_ENTRY_NAMES_LONG
 
static const char * mfib_itf_flag_long_names [] = MFIB_ITF_NAMES_LONG
 
static const char * mfib_itf_flag_names [] = MFIB_ITF_NAMES_SHORT
 
static vlib_cli_command_t mfib_route_flags_command
 (constructor) VLIB_CLI_COMMAND (mfib_route_flags_command) More...
 
static vlib_cli_command_t mfib_itf_flags_command
 (constructor) VLIB_CLI_COMMAND (mfib_itf_flags_command) More...
 

Function Documentation

u8* format_mfib_entry_flags ( u8 s,
va_list *  args 
)

Definition at line 85 of file mfib_types.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_mfib_itf_flags ( u8 s,
va_list *  args 
)

Definition at line 105 of file mfib_types.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_mfib_prefix ( u8 s,
va_list *  args 
)

Definition at line 30 of file mfib_types.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* mfib_show_itf_flags ( vlib_main_t vm,
unformat_input_t main_input,
vlib_cli_command_t cmd 
)

Definition at line 187 of file mfib_types.c.

+ Here is the call graph for this function:

clib_error_t* mfib_show_route_flags ( vlib_main_t vm,
unformat_input_t main_input,
vlib_cli_command_t cmd 
)

Definition at line 158 of file mfib_types.c.

+ Here is the call graph for this function:

uword unformat_mfib_entry_flags ( unformat_input_t input,
va_list *  args 
)

Definition at line 142 of file mfib_types.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword unformat_mfib_itf_flags ( unformat_input_t input,
va_list *  args 
)

Definition at line 122 of file mfib_types.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const char* mfib_flag_names[] = MFIB_ENTRY_NAMES_SHORT
static

String names for each flag.

Definition at line 23 of file mfib_types.c.

const char* mfib_flag_names_long[] = MFIB_ENTRY_NAMES_LONG
static

Definition at line 24 of file mfib_types.c.

const char* mfib_itf_flag_long_names[] = MFIB_ITF_NAMES_LONG
static

Definition at line 26 of file mfib_types.c.

const char* mfib_itf_flag_names[] = MFIB_ITF_NAMES_SHORT
static

Definition at line 27 of file mfib_types.c.

vlib_cli_command_t mfib_itf_flags_command
static
Initial value:
=
{
.path = "show mfib itf flags",
.short_help = "Flags applicable to an MFIB interfaces",
.function = mfib_show_itf_flags,
.is_mp_safe = 1,
}
clib_error_t * mfib_show_itf_flags(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
Definition: mfib_types.c:187

(constructor) VLIB_CLI_COMMAND (mfib_itf_flags_command)

Definition at line 206 of file mfib_types.c.

vlib_cli_command_t mfib_route_flags_command
static
Initial value:
=
{
.path = "show mfib route flags",
.short_help = "Flags applicable to an MFIB route",
.function = mfib_show_route_flags,
.is_mp_safe = 1,
}
clib_error_t * mfib_show_route_flags(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
Definition: mfib_types.c:158

(constructor) VLIB_CLI_COMMAND (mfib_route_flags_command)

Definition at line 177 of file mfib_types.c.