FD.io VPP  v18.07-rc0-415-g6c78436
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)
 
void bier_entry_delete (index_t bei)
 
static void bier_entry_table_ecmp_walk_add_fmask (index_t btei, void *arg)
 
void bier_entry_path_add (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

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 359 of file bier_entry.c.

+ Here is the call graph for this function:

void bier_entry_contribute_forwarding ( index_t  bei,
dpo_id_t dpo 
)

Definition at line 294 of file bier_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

void bier_entry_delete ( index_t  bei)

Definition at line 77 of file bier_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bier_entry_t* bier_entry_get_from_node ( fib_node_t node)
static

Definition at line 339 of file bier_entry.c.

+ Here is the caller graph for this function:

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:

static fib_node_t* bier_entry_get_node ( fib_node_index_t  index)
static

Definition at line 332 of file bier_entry.c.

+ Here is the call graph for this function:

static void bier_entry_last_lock_gone ( fib_node_t node)
static

Definition at line 347 of file bier_entry.c.

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:

clib_error_t* bier_entry_module_init ( vlib_main_t vm)

Definition at line 387 of file bier_entry.c.

+ Here is the call graph for this function:

void bier_entry_path_add ( index_t  bei,
const fib_route_path_t rpaths 
)

Definition at line 164 of file bier_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int bier_entry_path_remove ( index_t  bei,
const fib_route_path_t rpaths 
)

Definition at line 234 of file bier_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 99 of file bier_entry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

u8* format_bier_entry ( u8 s,
va_list *  ap 
)

Definition at line 306 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_t* bier_entry_pool

Definition at line 25 of file bier_entry.c.

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:347
static fib_node_t * bier_entry_get_node(fib_node_index_t index)
Definition: bier_entry.c:332
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:359

Definition at line 380 of file bier_entry.c.