FD.io VPP  v18.01-8-g0eacf49
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

static 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...
 
static 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...
 
static fib_entry_src_cover_res_t fib_entry_src_rr_cover_change (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static 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 116 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static fib_entry_src_cover_res_t fib_entry_src_rr_cover_change ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 191 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

static fib_entry_src_cover_res_t fib_entry_src_rr_cover_update ( fib_entry_src_t src,
const fib_entry_t fib_entry 
)
static

Definition at line 234 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 170 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 280 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 66 of file fib_entry_src_rr.c.

void fib_entry_src_rr_register ( void  )

Definition at line 296 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static 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

Definition at line 33 of file fib_entry_src_rr.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static 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

Definition at line 88 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 fib_entry_src_cover_res_t fib_entry_src_rr_cover_change(fib_entry_src_t *src, const fib_entry_t *fib_entry)
static fib_entry_src_cover_res_t fib_entry_src_rr_cover_update(fib_entry_src_t *src, const fib_entry_t *fib_entry)
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.
static u8 * fib_entry_src_rr_format(fib_entry_src_t *src, u8 *s)

Definition at line 286 of file fib_entry_src_rr.c.