FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Go to the source code of this file.
void mpls_fib_forwarding_table_reset | ( | mpls_fib_t * | mf, |
mpls_label_t | label, | ||
mpls_eos_bit_t | eos | ||
) |
Definition at line 328 of file mpls_fib.c.
void mpls_fib_forwarding_table_update | ( | mpls_fib_t * | mf, |
mpls_label_t | label, | ||
mpls_eos_bit_t | eos, | ||
const dpo_id_t * | dpo | ||
) |
Definition at line 313 of file mpls_fib.c.
|
inlinestatic |
Definition at line 29 of file mpls_fib.h.
u32 mpls_fib_table_create_and_lock | ( | void | ) |
Definition at line 238 of file mpls_fib.c.
void mpls_fib_table_destroy | ( | mpls_fib_t * | mf | ) |
Definition at line 244 of file mpls_fib.c.
fib_node_index_t mpls_fib_table_entry_add_from_ip_fib_entry | ( | u32 | table_id, |
mpls_label_t | label, | ||
mpls_eos_bit_t | eos, | ||
fib_node_index_t | fib_entry_index | ||
) |
void mpls_fib_table_entry_insert | ( | mpls_fib_t * | mf, |
mpls_label_t | label, | ||
mpls_eos_bit_t | eos, | ||
fib_node_index_t | fei | ||
) |
Definition at line 296 of file mpls_fib.c.
void mpls_fib_table_entry_remove | ( | mpls_fib_t * | mf, |
mpls_label_t | label, | ||
mpls_eos_bit_t | eos | ||
) |
Definition at line 305 of file mpls_fib.c.
Definition at line 225 of file mpls_fib.c.
|
inlinestatic |
Lookup a label and EOS bit in the MPLS_FIB table to retrieve the load-balance index to be used for packet forwarding.
Definition at line 86 of file mpls_fib.h.
flow_hash_config_t mpls_fib_table_get_flow_hash_config | ( | u32 | fib_index | ) |
Definition at line 102 of file mpls_fib.h.
fib_node_index_t mpls_fib_table_lookup | ( | const mpls_fib_t * | mf, |
mpls_label_t | label, | ||
mpls_eos_bit_t | eos | ||
) |
Definition at line 281 of file mpls_fib.c.
void mpls_fib_table_walk | ( | mpls_fib_t * | fib, |
fib_table_walk_fn_t | fn, | ||
void * | ctx | ||
) |
Walk all entries in a FIB table N.B: This is NOT safe to deletes.
If you need to delete walk the whole table and store elements in a vector, then delete the elements
Definition at line 347 of file mpls_fib.c.