FD.io VPP  v18.07-34-g55fbdb9
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

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_cover_res_t fib_entry_src_rr_cover_change ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)

Definition at line 193 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

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 236 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

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:

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

Definition at line 282 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

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.

void fib_entry_src_rr_register ( void  )

Definition at line 298 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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

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 288 of file fib_entry_src_rr.c.