FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
mfib_itf.c File Reference
+ Include dependency graph for mfib_itf.c:

Go to the source code of this file.

Functions

index_t mfib_itf_create (fib_node_index_t path_index, mfib_itf_flags_t mfi_flags)
 
static mfib_itf_flags_t mfib_itf_mk_flags (const mfib_itf_t *mfib_itf)
 
int mfib_itf_update (mfib_itf_t *mfib_itf, fib_node_index_t path_index, mfib_itf_flags_t mfi_flags)
 update an interface from a path. More...
 
static void mfib_itf_hash_flush (mfib_itf_t *mfi)
 
void mfib_itf_delete (mfib_itf_t *mfi)
 
u8format_mfib_itf (u8 *s, va_list *args)
 
static clib_error_tshow_mfib_itf_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

mfib_itf_tmfib_itf_pool
 
static vlib_cli_command_t show_mfib_itf
 (constructor) VLIB_CLI_COMMAND (show_mfib_itf) More...
 

Function Documentation

◆ format_mfib_itf()

u8* format_mfib_itf ( u8 s,
va_list *  args 
)

Definition at line 121 of file mfib_itf.c.

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

◆ mfib_itf_create()

index_t mfib_itf_create ( fib_node_index_t  path_index,
mfib_itf_flags_t  mfi_flags 
)

Definition at line 25 of file mfib_itf.c.

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

◆ mfib_itf_delete()

void mfib_itf_delete ( mfib_itf_t mfi)

Definition at line 113 of file mfib_itf.c.

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

◆ mfib_itf_hash_flush()

static void mfib_itf_hash_flush ( mfib_itf_t mfi)
static

Definition at line 96 of file mfib_itf.c.

+ Here is the caller graph for this function:

◆ mfib_itf_mk_flags()

static mfib_itf_flags_t mfib_itf_mk_flags ( const mfib_itf_t mfib_itf)
static

Definition at line 50 of file mfib_itf.c.

+ Here is the caller graph for this function:

◆ mfib_itf_update()

int mfib_itf_update ( mfib_itf_t itf,
fib_node_index_t  path_index,
mfib_itf_flags_t  mfi_flags 
)

update an interface from a path.

returns 1 if the entry is removed, i.e. has no flags left, as a result of the update.

Definition at line 66 of file mfib_itf.c.

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

◆ show_mfib_itf_command()

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

Definition at line 150 of file mfib_itf.c.

+ Here is the call graph for this function:

Variable Documentation

◆ mfib_itf_pool

mfib_itf_t* mfib_itf_pool

Definition at line 22 of file mfib_itf.c.

◆ show_mfib_itf

vlib_cli_command_t show_mfib_itf
static
Initial value:
= {
.path = "show mfib interface",
.function = show_mfib_itf_command,
.short_help = "show mfib interface",
}
static clib_error_t * show_mfib_itf_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: mfib_itf.c:150

(constructor) VLIB_CLI_COMMAND (show_mfib_itf)

Definition at line 193 of file mfib_itf.c.