FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Go to the source code of this file.
|
inlinestatic |
Get the FIB at the given index.
Definition at line 65 of file ip6_mfib.h.
Definition at line 87 of file ip6_mfib.h.
void ip6_mfib_interface_enable_disable | ( | u32 | sw_if_index, |
int | is_enable | ||
) |
Add/remove the interface from the accepting list of the special MFIB entries.
Definition at line 258 of file ip6_mfib.c.
u32 ip6_mfib_table_create_and_lock | ( | void | ) |
void ip6_mfib_table_destroy | ( | ip6_mfib_t * | fib | ) |
Definition at line 216 of file ip6_mfib.c.
void ip6_mfib_table_entry_insert | ( | ip6_mfib_t * | fib, |
const ip6_address_t * | grp, | ||
const ip6_address_t * | src, | ||
u32 | len, | ||
fib_node_index_t | fib_entry_index | ||
) |
Definition at line 426 of file ip6_mfib.c.
void ip6_mfib_table_entry_remove | ( | ip6_mfib_t * | fib, |
const ip6_address_t * | grp, | ||
const ip6_address_t * | src, | ||
u32 | len | ||
) |
Definition at line 449 of file ip6_mfib.c.
Get or create an IPv4 fib.
Get or create an IPv4 fib with the provided table ID.
table_id | When set to ~0 , an arbitrary and unused fib ID is picked and can be retrieved with ret->table_id . Otherwise, the fib ID to be used to retrieve or create the desired fib. |
Definition at line 299 of file ip6_mfib.c.
fib_node_index_t ip6_mfib_table_lookup | ( | const ip6_mfib_t * | fib, |
const ip6_address_t * | src, | ||
const ip6_address_t * | grp, | ||
u32 | len | ||
) |
The IPv4 Multicast-FIB.
FIXME
This IPv4 FIB is used by the protocol independent FIB. So directly using this APIs in client code is not encouraged. However, this IPv4 FIB can be used if all the client wants is an IPv4 prefix data-base
Definition at line 383 of file ip6_mfib.c.
fib_node_index_t ip6_mfib_table_lookup2 | ( | const ip6_mfib_t * | mfib, |
const ip6_address_t * | src, | ||
const ip6_address_t * | grp | ||
) |
Data-plane lookup function.
Definition at line 408 of file ip6_mfib.c.
fib_node_index_t ip6_mfib_table_lookup_exact_match | ( | const ip6_mfib_t * | fib, |
const ip6_address_t * | grp, | ||
const ip6_address_t * | src, | ||
u32 | len | ||
) |
Definition at line 356 of file ip6_mfib.c.
void ip6_mfib_table_walk | ( | ip6_mfib_t * | mfib, |
mfib_table_walk_fn_t | fn, | ||
void * | ctx | ||
) |
Walk the IP6 mfib table.
mfib | the table to walk |
fn | The function to invoke on each entry visited |
ctx | A context passed in the visit function |
Definition at line 547 of file ip6_mfib.c.