FD.io VPP  v18.01.2-1-g9b554f3
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)
 Big train switch; FIB debugs on or off. More...
 
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 
)

Big train switch; FIB debugs on or off.

Definition at line 68 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 188 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 261 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 234 of file fib_table.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: