Go to the source code of this file.
|
u8 * | format_mfib_entry (u8 *s, va_list *args) |
|
fib_node_index_t | mfib_entry_create (u32 fib_index, mfib_source_t source, const mfib_prefix_t *prefix, fib_rpf_id_t rpf_id, mfib_entry_flags_t entry_flags, index_t repi) |
|
int | mfib_entry_update (fib_node_index_t fib_entry_index, mfib_source_t source, mfib_entry_flags_t entry_flags, fib_rpf_id_t rpf_id, index_t rep_dpo) |
|
int | mfib_entry_special_add (fib_node_index_t fib_entry_index, mfib_source_t source, mfib_entry_flags_t entry_flags, fib_rpf_id_t rpf_id, index_t rep_dpo) |
|
void | mfib_entry_path_update (fib_node_index_t fib_entry_index, mfib_source_t source, const fib_route_path_t *rpath, mfib_itf_flags_t itf_flags) |
|
int | mfib_entry_path_remove (fib_node_index_t fib_entry_index, mfib_source_t source, const fib_route_path_t *rpath) |
|
int | mfib_entry_delete (fib_node_index_t mfib_entry_index, mfib_source_t source) |
| mfib_entry_delete More...
|
|
int | mfib_entry_cmp_for_sort (void *i1, void *i2) |
|
u32 | mfib_entry_child_add (fib_node_index_t mfib_entry_index, fib_node_type_t type, fib_node_index_t child_index) |
|
void | mfib_entry_child_remove (fib_node_index_t mfib_entry_index, u32 sibling_index) |
|
void | mfib_entry_lock (fib_node_index_t fib_entry_index) |
|
void | mfib_entry_unlock (fib_node_index_t fib_entry_index) |
|
const mfib_prefix_t * | mfib_entry_get_prefix (fib_node_index_t fib_entry_index) |
|
u32 | mfib_entry_get_fib_index (fib_node_index_t fib_entry_index) |
|
int | mfib_entry_is_sourced (fib_node_index_t fib_entry_index, mfib_source_t source) |
|
int | mfib_entry_is_host (fib_node_index_t fib_entry_index) |
|
u32 | mfib_entry_get_stats_index (fib_node_index_t fib_entry_index) |
|
void | mfib_entry_cover_changed (fib_node_index_t fib_entry_index) |
|
void | mfib_entry_cover_updated (fib_node_index_t fib_entry_index) |
|
const dpo_id_t * | mfib_entry_contribute_ip_forwarding (fib_node_index_t mfib_entry_index) |
|
void | mfib_entry_contribute_forwarding (fib_node_index_t mfib_entry_index, fib_forward_chain_type_t type, mfib_entry_fwd_flags_t flags, dpo_id_t *dpo) |
|
void | mfib_entry_encode (fib_node_index_t fib_entry_index, fib_route_path_encode_t **api_rpaths) |
|
void | mfib_entry_module_init (void) |
|
static mfib_entry_t * | mfib_entry_get (fib_node_index_t index) |
|
static fib_node_index_t | mfib_entry_get_index (const mfib_entry_t *mfe) |
|
static mfib_itf_t * | mfib_entry_itf_find (mfib_itf_t *itfs, u32 sw_if_index) |
|
static mfib_itf_t * | mfib_entry_get_itf (const mfib_entry_t *mfe, u32 sw_if_index) |
|
◆ MFIB_ENTRY_DBG
#define MFIB_ENTRY_DBG |
( |
|
_e, |
|
|
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Value:{ \
"e:[%d:%U]: " _fmt, \
&_e->mfe_prefix, \
##_args); \
}
static fib_node_index_t mfib_entry_get_index(const mfib_entry_t *mfe)
vlib_log_class_t mfib_entry_logger
Debug macro.
u8 * format_mfib_prefix(u8 *s, va_list *args)
Definition at line 100 of file mfib_entry.h.
◆ MFIB_ENTRY_FORMAT_BRIEF
#define MFIB_ENTRY_FORMAT_BRIEF (0x0) |
◆ MFIB_ENTRY_FORMAT_DETAIL
#define MFIB_ENTRY_FORMAT_DETAIL (0x1) |
◆ MFIB_ENTRY_FORMAT_DETAIL2
#define MFIB_ENTRY_FORMAT_DETAIL2 (0x2) |
◆ mfib_entry_fwd_flags_t
Flags to control what is present in the replicate DPO returned when the entry contributes forwarding.
◆ mfib_entry_t
An entry in a FIB table.
This entry represents a route added to the FIB that is stored in one of the FIB tables.
◆ mfib_entry_fwd_flags_t_
Flags to control what is present in the replicate DPO returned when the entry contributes forwarding.
Enumerator |
---|
MFIB_ENTRY_FWD_FLAG_NONE | |
MFIB_ENTRY_FWD_FLAG_NO_LOCAL | Do not reutrn any local replications in the set.
|
Definition at line 176 of file mfib_entry.h.
◆ format_mfib_entry()
u8* format_mfib_entry |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ mfib_entry_child_add()
◆ mfib_entry_child_remove()
◆ mfib_entry_cmp_for_sort()
int mfib_entry_cmp_for_sort |
( |
void * |
i1, |
|
|
void * |
i2 |
|
) |
| |
◆ mfib_entry_contribute_forwarding()
◆ mfib_entry_contribute_ip_forwarding()
◆ mfib_entry_cover_changed()
◆ mfib_entry_cover_updated()
◆ mfib_entry_create()
◆ mfib_entry_delete()
mfib_entry_delete
The source is withdrawing all the paths it provided
Definition at line 1096 of file mfib_entry.c.
◆ mfib_entry_encode()
◆ mfib_entry_get()
◆ mfib_entry_get_fib_index()
◆ mfib_entry_get_index()
◆ mfib_entry_get_itf()
◆ mfib_entry_get_prefix()
◆ mfib_entry_get_stats_index()
◆ mfib_entry_is_host()
◆ mfib_entry_is_sourced()
◆ mfib_entry_itf_find()
◆ mfib_entry_lock()
◆ mfib_entry_module_init()
void mfib_entry_module_init |
( |
void |
| ) |
|
◆ mfib_entry_path_remove()
◆ mfib_entry_path_update()
◆ mfib_entry_special_add()
◆ mfib_entry_unlock()
◆ mfib_entry_update()
◆ mfib_entry_logger
◆ mfib_entry_pool