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

Go to the source code of this file.

Functions

void fib_entry_src_rr_resolve_via_connected (fib_entry_src_t *src, const fib_entry_t *fib_entry, const fib_entry_t *cover)
 
static void fib_entry_src_rr_init (fib_entry_src_t *src)
 Source initialisation Function. More...
 
void fib_entry_src_rr_use_covers_pl (fib_entry_src_t *src, const fib_entry_t *fib_entry, const fib_entry_t *cover)
 
static int fib_entry_src_rr_activate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static void fib_entry_src_rr_deactivate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 Source Deactivate. More...
 
fib_entry_src_cover_res_t fib_entry_src_rr_cover_change (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
fib_entry_src_cover_res_t fib_entry_src_rr_cover_update (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static u8fib_entry_src_rr_format (fib_entry_src_t *src, u8 *s)
 
void fib_entry_src_rr_register (void)
 

Variables

static const fib_entry_src_vft_t rr_src_vft
 

Function Documentation

◆ fib_entry_src_rr_activate()

static int fib_entry_src_rr_activate ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 118 of file fib_entry_src_rr.c.

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

◆ fib_entry_src_rr_cover_change()

fib_entry_src_cover_res_t fib_entry_src_rr_cover_change ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)

Definition at line 202 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

◆ fib_entry_src_rr_cover_update()

fib_entry_src_cover_res_t fib_entry_src_rr_cover_update ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)

Definition at line 245 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

◆ fib_entry_src_rr_deactivate()

static void fib_entry_src_rr_deactivate ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Source Deactivate.

Called when the source is no longer best source on the entry

Definition at line 172 of file fib_entry_src_rr.c.

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

◆ fib_entry_src_rr_format()

static u8* fib_entry_src_rr_format ( fib_entry_src_t src,
u8 s 
)
static

Definition at line 291 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

◆ fib_entry_src_rr_init()

static void fib_entry_src_rr_init ( fib_entry_src_t src)
static

Source initialisation Function.

Definition at line 68 of file fib_entry_src_rr.c.

◆ fib_entry_src_rr_register()

void fib_entry_src_rr_register ( void  )

Definition at line 307 of file fib_entry_src_rr.c.

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

◆ fib_entry_src_rr_resolve_via_connected()

void fib_entry_src_rr_resolve_via_connected ( fib_entry_src_t src,
const fib_entry_t fib_entry,
const fib_entry_t cover 
)

Definition at line 34 of file fib_entry_src_rr.c.

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

◆ fib_entry_src_rr_use_covers_pl()

void fib_entry_src_rr_use_covers_pl ( fib_entry_src_t src,
const fib_entry_t fib_entry,
const fib_entry_t cover 
)

Definition at line 90 of file fib_entry_src_rr.c.

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

Variable Documentation

◆ rr_src_vft

const fib_entry_src_vft_t rr_src_vft
static
Initial value:
= {
.fesv_init = fib_entry_src_rr_init,
.fesv_activate = fib_entry_src_rr_activate,
.fesv_deactivate = fib_entry_src_rr_deactivate,
.fesv_cover_change = fib_entry_src_rr_cover_change,
.fesv_cover_update = fib_entry_src_rr_cover_update,
.fesv_format = fib_entry_src_rr_format,
}
static void fib_entry_src_rr_init(fib_entry_src_t *src)
Source initialisation Function.
static int fib_entry_src_rr_activate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
fib_entry_src_cover_res_t fib_entry_src_rr_cover_update(fib_entry_src_t *src, const fib_entry_t *fib_entry)
static void fib_entry_src_rr_deactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Source Deactivate.
static u8 * fib_entry_src_rr_format(fib_entry_src_t *src, u8 *s)
fib_entry_src_cover_res_t fib_entry_src_rr_cover_change(fib_entry_src_t *src, const fib_entry_t *fib_entry)

Definition at line 297 of file fib_entry_src_rr.c.