FD.io VPP  v21.10.1-2-g0a485f517
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

const static 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 128 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 213 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 256 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 182 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 302 of file fib_entry_src_rr.c.

◆ fib_entry_src_rr_init()

static void fib_entry_src_rr_init ( fib_entry_src_t src)
static

Source initialisation Function.

Definition at line 69 of file fib_entry_src_rr.c.

◆ fib_entry_src_rr_register()

void fib_entry_src_rr_register ( void  )

Definition at line 318 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 35 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 91 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 static 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,
}

Definition at line 308 of file fib_entry_src_rr.c.

fib_entry_src_rr_activate
static int fib_entry_src_rr_activate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_rr.c:128
fib_entry_src_rr_format
static u8 * fib_entry_src_rr_format(fib_entry_src_t *src, u8 *s)
Definition: fib_entry_src_rr.c:302
fib_entry_src_rr_init
static void fib_entry_src_rr_init(fib_entry_src_t *src)
Source initialisation Function.
Definition: fib_entry_src_rr.c:69
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: fib_entry_src_rr.c:256
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: fib_entry_src_rr.c:213
fib_entry_src_rr_deactivate
static void fib_entry_src_rr_deactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Source Deactivate.
Definition: fib_entry_src_rr.c:182