FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
fib_internal.h File Reference
+ Include dependency graph for fib_internal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void fib_prefix_from_mpls_label (mpls_label_t label, mpls_eos_bit_t eos, fib_prefix_t *prf)
 
int fib_route_path_cmp (const fib_route_path_t *rpath1, const fib_route_path_t *rpath2)
 
void fib_table_fwding_dpo_update (u32 fib_index, const fib_prefix_t *prefix, const dpo_id_t *dpo)
 Add or update an entry in the FIB's forwarding table. More...
 
void fib_table_fwding_dpo_remove (u32 fib_index, const fib_prefix_t *prefix, const dpo_id_t *dpo)
 remove an entry in the FIB's forwarding table More...
 

Function Documentation

◆ fib_prefix_from_mpls_label()

void fib_prefix_from_mpls_label ( mpls_label_t  label,
mpls_eos_bit_t  eos,
fib_prefix_t prf 
)

Definition at line 94 of file fib_types.c.

+ Here is the caller graph for this function:

◆ fib_route_path_cmp()

int fib_route_path_cmp ( const fib_route_path_t rpath1,
const fib_route_path_t rpath2 
)

Definition at line 214 of file fib_types.c.

+ Here is the caller graph for this function:

◆ fib_table_fwding_dpo_remove()

void fib_table_fwding_dpo_remove ( u32  fib_index,
const fib_prefix_t prefix,
const dpo_id_t dpo 
)

remove an entry in the FIB's forwarding table

Parameters
fib_indexThe index of the FIB
prefixThe prefix for the entry to add/update
dpoThe data-path object to use for forwarding

Definition at line 278 of file fib_table.c.

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

◆ fib_table_fwding_dpo_update()

void fib_table_fwding_dpo_update ( u32  fib_index,
const fib_prefix_t prefix,
const dpo_id_t dpo 
)

Add or update an entry in the FIB's forwarding table.

This is called from the fib_entry code. It is not meant to be used by the client/source.

Parameters
fib_indexThe index of the FIB
prefixThe prefix for the entry to add/update
dpoThe data-path object to use for forwarding

Definition at line 251 of file fib_table.c.

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