FD.io VPP  v19.04.2-12-g66b1689
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

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:

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:

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:

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: