FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
fib_entry_src_adj.c File Reference
+ Include dependency graph for fib_entry_src_adj.c:

Go to the source code of this file.

Data Structures

struct  fib_entry_src_path_list_walk_cxt_t_
 

Typedefs

typedef struct fib_entry_src_path_list_walk_cxt_t_ fib_entry_src_path_list_walk_cxt_t
 

Functions

static void fib_entry_src_adj_init (fib_entry_src_t *src)
 Source initialisation Function. More...
 
static void fib_entry_src_adj_path_add (fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
 
static void fib_entry_src_adj_path_remove (fib_entry_src_t *src, fib_path_list_flags_t pl_flags, const fib_route_path_t *rpaths)
 
static void fib_entry_src_adj_path_swap (fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
 
static void fib_entry_src_adj_remove (fib_entry_src_t *src)
 
static void fib_enty_src_adj_update_path_ext (fib_entry_src_t *src, fib_node_index_t path_index, fib_path_ext_adj_flags_t flags)
 
static fib_path_list_walk_rc_t fib_entry_src_adj_path_list_walk (fib_node_index_t pl_index, fib_node_index_t path_index, void *arg)
 
static int fib_entry_src_adj_activate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static int fib_entry_src_adj_reactivate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static void fib_entry_src_adj_deactivate (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static u8fib_entry_src_adj_format (fib_entry_src_t *src, u8 *s)
 
static void fib_entry_src_adj_installed (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static fib_entry_src_cover_res_t fib_entry_src_adj_cover_change (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
static fib_entry_src_cover_res_t fib_entry_src_adj_cover_update (fib_entry_src_t *src, const fib_entry_t *fib_entry)
 
void fib_entry_src_adj_register (void)
 

Variables

const static fib_entry_src_vft_t adj_src_vft
 

Typedef Documentation

◆ fib_entry_src_path_list_walk_cxt_t

Function Documentation

◆ fib_entry_src_adj_activate()

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

Definition at line 211 of file fib_entry_src_adj.c.

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

◆ fib_entry_src_adj_cover_change()

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

Definition at line 347 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_cover_update()

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

Definition at line 381 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_deactivate()

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

Definition at line 295 of file fib_entry_src_adj.c.

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

◆ fib_entry_src_adj_format()

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

Definition at line 324 of file fib_entry_src_adj.c.

◆ fib_entry_src_adj_init()

static void fib_entry_src_adj_init ( fib_entry_src_t src)
static

Source initialisation Function.

Definition at line 28 of file fib_entry_src_adj.c.

◆ fib_entry_src_adj_installed()

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

Definition at line 331 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_path_add()

static void fib_entry_src_adj_path_add ( fib_entry_src_t src,
const fib_entry_t entry,
fib_path_list_flags_t  pl_flags,
const fib_route_path_t paths 
)
static

Definition at line 35 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_path_list_walk()

static fib_path_list_walk_rc_t fib_entry_src_adj_path_list_walk ( fib_node_index_t  pl_index,
fib_node_index_t  path_index,
void *  arg 
)
static

Definition at line 168 of file fib_entry_src_adj.c.

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

◆ fib_entry_src_adj_path_remove()

static void fib_entry_src_adj_path_remove ( fib_entry_src_t src,
fib_path_list_flags_t  pl_flags,
const fib_route_path_t rpaths 
)
static

Definition at line 71 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_path_swap()

static void fib_entry_src_adj_path_swap ( fib_entry_src_t src,
const fib_entry_t entry,
fib_path_list_flags_t  pl_flags,
const fib_route_path_t paths 
)
static

Definition at line 98 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_reactivate()

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

Definition at line 274 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_entry_src_adj_register()

void fib_entry_src_adj_register ( void  )

Definition at line 426 of file fib_entry_src_adj.c.

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

◆ fib_entry_src_adj_remove()

static void fib_entry_src_adj_remove ( fib_entry_src_t src)
static

Definition at line 125 of file fib_entry_src_adj.c.

+ Here is the call graph for this function:

◆ fib_enty_src_adj_update_path_ext()

static void fib_enty_src_adj_update_path_ext ( fib_entry_src_t src,
fib_node_index_t  path_index,
fib_path_ext_adj_flags_t  flags 
)
static

Definition at line 141 of file fib_entry_src_adj.c.

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

Variable Documentation

◆ adj_src_vft

const static fib_entry_src_vft_t adj_src_vft
static
Initial value:
= {
.fesv_init = fib_entry_src_adj_init,
.fesv_path_swap = fib_entry_src_adj_path_swap,
.fesv_path_add = fib_entry_src_adj_path_add,
.fesv_path_remove = fib_entry_src_adj_path_remove,
.fesv_remove = fib_entry_src_adj_remove,
.fesv_activate = fib_entry_src_adj_activate,
.fesv_deactivate = fib_entry_src_adj_deactivate,
.fesv_reactivate = fib_entry_src_adj_reactivate,
.fesv_format = fib_entry_src_adj_format,
.fesv_installed = fib_entry_src_adj_installed,
.fesv_cover_change = fib_entry_src_adj_cover_change,
.fesv_cover_update = fib_entry_src_adj_cover_update,
}

Definition at line 410 of file fib_entry_src_adj.c.

fib_entry_src_adj_cover_change
static fib_entry_src_cover_res_t fib_entry_src_adj_cover_change(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_adj.c:347
fib_entry_src_adj_installed
static void fib_entry_src_adj_installed(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_adj.c:331
fib_entry_src_adj_remove
static void fib_entry_src_adj_remove(fib_entry_src_t *src)
Definition: fib_entry_src_adj.c:125
fib_entry_src_adj_cover_update
static fib_entry_src_cover_res_t fib_entry_src_adj_cover_update(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_adj.c:381
fib_entry_src_adj_deactivate
static void fib_entry_src_adj_deactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_adj.c:295
fib_entry_src_adj_activate
static int fib_entry_src_adj_activate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_adj.c:211
fib_entry_src_adj_path_add
static void fib_entry_src_adj_path_add(fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
Definition: fib_entry_src_adj.c:35
fib_entry_src_adj_path_remove
static void fib_entry_src_adj_path_remove(fib_entry_src_t *src, fib_path_list_flags_t pl_flags, const fib_route_path_t *rpaths)
Definition: fib_entry_src_adj.c:71
fib_entry_src_adj_format
static u8 * fib_entry_src_adj_format(fib_entry_src_t *src, u8 *s)
Definition: fib_entry_src_adj.c:324
fib_entry_src_adj_init
static void fib_entry_src_adj_init(fib_entry_src_t *src)
Source initialisation Function.
Definition: fib_entry_src_adj.c:28
fib_entry_src_adj_path_swap
static void fib_entry_src_adj_path_swap(fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
Definition: fib_entry_src_adj.c:98
fib_entry_src_adj_reactivate
static int fib_entry_src_adj_reactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Definition: fib_entry_src_adj.c:274