FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
bier_entry.c File Reference
+ Include dependency graph for bier_entry.c:

Go to the source code of this file.

Functions

static index_t bier_entry_get_index (const bier_entry_t *be)
 
static fib_path_list_walk_rc_t bier_entry_link_walk (fib_node_index_t pl_index, fib_node_index_t path_index, void *arg)
 
static fib_path_list_walk_rc_t bier_entry_unlink_walk (fib_node_index_t pl_index, fib_node_index_t path_index, void *arg)
 
index_t bier_entry_create (index_t bti, bier_bp_t bp)
 
static void bier_entry_table_ecmp_walk_add_fmask (index_t btei, void *arg)
 
void bier_entry_delete (index_t bei)
 
void bier_entry_path_add (index_t bei, const fib_route_path_t *rpaths)
 
void bier_entry_path_update (index_t bei, const fib_route_path_t *rpaths)
 
int bier_entry_path_remove (index_t bei, const fib_route_path_t *rpaths)
 
void bier_entry_contribute_forwarding (index_t bei, dpo_id_t *dpo)
 
u8format_bier_entry (u8 *s, va_list *ap)
 
static fib_node_tbier_entry_get_node (fib_node_index_t index)
 
static bier_entry_tbier_entry_get_from_node (fib_node_t *node)
 
static void bier_entry_last_lock_gone (fib_node_t *node)
 
static fib_node_back_walk_rc_t bier_entry_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
 
clib_error_tbier_entry_module_init (vlib_main_t *vm)
 

Variables

bier_entry_tbier_entry_pool
 
static const fib_node_vft_t bier_entry_vft
 

Function Documentation

◆ bier_entry_back_walk_notify()

static fib_node_back_walk_rc_t bier_entry_back_walk_notify ( fib_node_t node,
fib_node_back_walk_ctx_t ctx 
)
static

Definition at line 420 of file bier_entry.c.

+ Here is the call graph for this function:

◆ bier_entry_contribute_forwarding()

void bier_entry_contribute_forwarding ( index_t  bei,
dpo_id_t dpo 
)

Definition at line 355 of file bier_entry.c.

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

◆ bier_entry_create()

index_t bier_entry_create ( index_t  bti,
bier_bp_t  bp 
)

Definition at line 62 of file bier_entry.c.

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

◆ bier_entry_delete()

void bier_entry_delete ( index_t  bei)

Definition at line 143 of file bier_entry.c.

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

◆ bier_entry_get_from_node()

static bier_entry_t* bier_entry_get_from_node ( fib_node_t node)
static

Definition at line 400 of file bier_entry.c.

+ Here is the caller graph for this function:

◆ bier_entry_get_index()

static index_t bier_entry_get_index ( const bier_entry_t be)
static

Definition at line 28 of file bier_entry.c.

+ Here is the caller graph for this function:

◆ bier_entry_get_node()

static fib_node_t* bier_entry_get_node ( fib_node_index_t  index)
static

Definition at line 393 of file bier_entry.c.

+ Here is the call graph for this function:

◆ bier_entry_last_lock_gone()

static void bier_entry_last_lock_gone ( fib_node_t node)
static

Definition at line 408 of file bier_entry.c.

◆ bier_entry_link_walk()

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

Definition at line 34 of file bier_entry.c.

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

◆ bier_entry_module_init()

clib_error_t* bier_entry_module_init ( vlib_main_t vm)

Definition at line 448 of file bier_entry.c.

+ Here is the call graph for this function:

◆ bier_entry_path_add()

void bier_entry_path_add ( index_t  bei,
const fib_route_path_t rpaths 
)

Definition at line 170 of file bier_entry.c.

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

◆ bier_entry_path_remove()

int bier_entry_path_remove ( index_t  bei,
const fib_route_path_t rpaths 
)

Definition at line 296 of file bier_entry.c.

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

◆ bier_entry_path_update()

void bier_entry_path_update ( index_t  bei,
const fib_route_path_t rpaths 
)

Definition at line 240 of file bier_entry.c.

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

◆ bier_entry_table_ecmp_walk_add_fmask()

static void bier_entry_table_ecmp_walk_add_fmask ( index_t  btei,
void *  arg 
)
static

Definition at line 78 of file bier_entry.c.

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

◆ bier_entry_unlink_walk()

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

Definition at line 48 of file bier_entry.c.

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

◆ format_bier_entry()

u8* format_bier_entry ( u8 s,
va_list *  ap 
)

Definition at line 367 of file bier_entry.c.

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

Variable Documentation

◆ bier_entry_pool

bier_entry_t* bier_entry_pool

Definition at line 25 of file bier_entry.c.

◆ bier_entry_vft

const fib_node_vft_t bier_entry_vft
static
Initial value:
= {
.fnv_get = bier_entry_get_node,
.fnv_last_lock = bier_entry_last_lock_gone,
.fnv_back_walk = bier_entry_back_walk_notify,
}
static void bier_entry_last_lock_gone(fib_node_t *node)
Definition: bier_entry.c:408
static fib_node_t * bier_entry_get_node(fib_node_index_t index)
Definition: bier_entry.c:393
static fib_node_back_walk_rc_t bier_entry_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
Definition: bier_entry.c:420

Definition at line 441 of file bier_entry.c.