FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mfib_itf_t_ |
An interface associated with a particular MFIB entry. More... | |
Typedefs | |
typedef struct mfib_itf_t_ | mfib_itf_t |
An interface associated with a particular MFIB entry. More... | |
Functions | |
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. More... | |
index_t | mfib_itf_create (fib_node_index_t path_index, mfib_itf_flags_t mfi_flags) |
void | mfib_itf_delete (mfib_itf_t *itf) |
u8 * | format_mfib_itf (u8 *s, va_list *args) |
static mfib_itf_t * | mfib_itf_get (index_t mi) |
Get the MFIB interface representation. More... | |
static index_t | mfib_itf_get_index (const mfib_itf_t *mfi) |
Variables | |
mfib_itf_t * | mfib_itf_pool |
typedef struct mfib_itf_t_ mfib_itf_t |
An interface associated with a particular MFIB entry.
Definition at line 121 of file mfib_itf.c.
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.
void mfib_itf_delete | ( | mfib_itf_t * | itf | ) |
Definition at line 113 of file mfib_itf.c.
|
inlinestatic |
Get the MFIB interface representation.
Definition at line 78 of file mfib_itf.h.
|
inlinestatic |
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.
mfib_itf_t* mfib_itf_pool |
Definition at line 22 of file mfib_itf.c.