FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mfib_path_ext_t_ |
MFIB extensions to each path. More... | |
struct | mfib_entry_src_t_ |
The source of an MFIB entry. More... | |
struct | mfib_entry_src_vft_t_ |
Virtual function table provided by each_source. More... | |
Typedefs | |
typedef struct mfib_path_ext_t_ | mfib_path_ext_t |
MFIB extensions to each path. More... | |
typedef struct mfib_entry_src_t_ | mfib_entry_src_t |
The source of an MFIB entry. More... | |
typedef enum mfib_src_res_t_ | mfib_src_res_t |
signals from the sources to the caller More... | |
typedef void(* | mfib_entry_src_activiate_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when it is activated. More... | |
typedef void(* | mfib_entry_src_deactiviate_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when it is deactivated. More... | |
typedef mfib_src_res_t(* | mfib_entry_src_cover_change_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when the cover changes. More... | |
typedef mfib_src_res_t(* | mfib_entry_src_cover_update_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when the cover is updated. More... | |
typedef struct mfib_entry_src_vft_t_ | mfib_entry_src_vft |
Virtual function table provided by each_source. More... | |
Enumerations | |
enum | mfib_src_res_t_ { MFIB_SRC_OK, MFIB_SRC_REEVALUATE } |
signals from the sources to the caller More... | |
Functions | |
void | mfib_entry_src_register (mfib_source_t, const mfib_entry_src_vft *) |
void | mfib_entry_src_deactivate (mfib_entry_t *mfib_entry, mfib_entry_src_t *bsrc) |
void | mfib_entry_src_activate (mfib_entry_t *mfib_entry, mfib_entry_src_t *bsrc) |
mfib_src_res_t | mfib_entry_src_cover_change (mfib_entry_t *mfib_entry, mfib_entry_src_t *bsrc) |
mfib_src_res_t | mfib_entry_src_cover_update (mfib_entry_t *mfib_entry, mfib_entry_src_t *bsrc) |
mfib_entry_src_t * | mfib_entry_get_best_src (const mfib_entry_t *mfib_entry) |
void | mfib_entry_src_module_init (void) |
void | mfib_entry_src_rr_module_init (void) |
typedef void(* mfib_entry_src_activiate_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when it is activated.
Definition at line 95 of file mfib_entry_src.h.
typedef mfib_src_res_t(* mfib_entry_src_cover_change_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when the cover changes.
Definition at line 105 of file mfib_entry_src.h.
typedef mfib_src_res_t(* mfib_entry_src_cover_update_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when the cover is updated.
Definition at line 110 of file mfib_entry_src.h.
typedef void(* mfib_entry_src_deactiviate_t) (mfib_entry_t *, mfib_entry_src_t *) |
A function provided by each source to be invoked when it is deactivated.
Definition at line 100 of file mfib_entry_src.h.
typedef struct mfib_entry_src_t_ mfib_entry_src_t |
The source of an MFIB entry.
typedef struct mfib_entry_src_vft_t_ mfib_entry_src_vft |
Virtual function table provided by each_source.
typedef struct mfib_path_ext_t_ mfib_path_ext_t |
MFIB extensions to each path.
typedef enum mfib_src_res_t_ mfib_src_res_t |
signals from the sources to the caller
enum mfib_src_res_t_ |
signals from the sources to the caller
Enumerator | |
---|---|
MFIB_SRC_OK | |
MFIB_SRC_REEVALUATE |
Definition at line 86 of file mfib_entry_src.h.
mfib_entry_src_t* mfib_entry_get_best_src | ( | const mfib_entry_t * | mfib_entry | ) |
void mfib_entry_src_activate | ( | mfib_entry_t * | mfib_entry, |
mfib_entry_src_t * | bsrc | ||
) |
mfib_src_res_t mfib_entry_src_cover_change | ( | mfib_entry_t * | mfib_entry, |
mfib_entry_src_t * | bsrc | ||
) |
mfib_src_res_t mfib_entry_src_cover_update | ( | mfib_entry_t * | mfib_entry, |
mfib_entry_src_t * | bsrc | ||
) |
void mfib_entry_src_deactivate | ( | mfib_entry_t * | mfib_entry, |
mfib_entry_src_t * | bsrc | ||
) |
void mfib_entry_src_module_init | ( | void | ) |
Definition at line 85 of file mfib_entry_src.c.
void mfib_entry_src_register | ( | mfib_source_t | , |
const mfib_entry_src_vft * | |||
) |
void mfib_entry_src_rr_module_init | ( | void | ) |
Definition at line 102 of file mfib_entry_src_rr.c.