FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
ip6_ll_table.h File Reference
+ Include dependency graph for ip6_ll_table.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip6_ll_table_t_
 A protocol Independent IP multicast FIB table. More...
 

Typedefs

typedef struct ip6_ll_table_t_ ip6_ll_table_t
 A protocol Independent IP multicast FIB table. More...
 

Functions

fib_node_index_t ip6_ll_table_lookup (const ip6_ll_prefix_t *prefix)
 Perfom a longest prefix match in the non-forwarding table. More...
 
fib_node_index_t ip6_ll_table_lookup_exact_match (const ip6_ll_prefix_t *prefix)
 Perfom an exact match in the non-forwarding table. More...
 
fib_node_index_t ip6_ll_table_entry_update (const ip6_ll_prefix_t *prefix, fib_route_path_flags_t flags)
 Update an entry in the table. More...
 
void ip6_ll_table_entry_delete (const ip6_ll_prefix_t *prefix)
 Delete a IP6 link-local entry. More...
 
u32 ip6_ll_fib_get (u32 sw_if_index)
 For use in the data plane. More...
 

Typedef Documentation

A protocol Independent IP multicast FIB table.

Function Documentation

u32 ip6_ll_fib_get ( u32  sw_if_index)

For use in the data plane.

Get the underlying ip6 FIB

Definition at line 28 of file ip6_ll_table.c.

+ Here is the caller graph for this function:

void ip6_ll_table_entry_delete ( const ip6_ll_prefix_t prefix)

Delete a IP6 link-local entry.

Parameters
prefixThe prefix for the entry to remove

Definition at line 139 of file ip6_ll_table.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

fib_node_index_t ip6_ll_table_entry_update ( const ip6_ll_prefix_t prefix,
fib_route_path_flags_t  flags 
)

Update an entry in the table.

The falgs determine if the entry is LOCAL, in which case it's a receive, or not, in which case the entry will link to an adjacency.

Parameters
prefixThe prefix for the entry to add
Returns
the index of the fib_entry_t that is created (or existed already).

Definition at line 105 of file ip6_ll_table.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

fib_node_index_t ip6_ll_table_lookup ( const ip6_ll_prefix_t prefix)

Perfom a longest prefix match in the non-forwarding table.

Parameters
prefixThe prefix to lookup
Returns
The index of the fib_entry_t for the best match, which may be the default route

Definition at line 36 of file ip6_ll_table.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

fib_node_index_t ip6_ll_table_lookup_exact_match ( const ip6_ll_prefix_t prefix)

Perfom an exact match in the non-forwarding table.

Parameters
prefixThe prefix to lookup
Returns
The index of the fib_entry_t for the exact match, or INVALID is there is no match.

Definition at line 43 of file ip6_ll_table.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: