Go to the source code of this file.
◆ L3XC_PLUGIN_VERSION_MAJOR
#define L3XC_PLUGIN_VERSION_MAJOR 1 |
A L3 cross connect will send all traffic that is received on the input interface to the [set of] paths requested.
It is a much more memory efficient solution than using a separate IP table for each input interface and much faster than an ABF match all rule.
Definition at line 28 of file l3xc.h.
◆ L3XC_PLUGIN_VERSION_MINOR
#define L3XC_PLUGIN_VERSION_MINOR 0 |
◆ l3xc_t
◆ l3xc_walk_cb_t
typedef int(* l3xc_walk_cb_t) (index_t l3xci, void *ctx) |
Callback function invoked during a walk of all policies.
Definition at line 84 of file l3xc.h.
◆ l3xc_delete()
int l3xc_delete |
( |
u32 |
sw_if_index, |
|
|
u8 |
is_ip6 |
|
) |
| |
Delete an L3XC.
- Parameters
-
sw_if_index_index | the input interface |
Definition at line 156 of file l3xc.c.
◆ l3xc_find()
Find a L3 XC object from an interfce and FIB protocol.
Definition at line 38 of file l3xc.c.
◆ l3xc_get()
◆ l3xc_update()
Create or update an L3XC Policy.
- Parameters
-
sw_if_index_index | the input interface |
rpaths | The set of paths to add to the forwarding set |
- Returns
- error code
Definition at line 83 of file l3xc.c.
◆ l3xc_walk()
Walk/visit each of the L3XC policies.
Definition at line 303 of file l3xc.c.
◆ l3xc_ip4_node
(constructor) VLIB_REGISTER_NODE (l3xc_ip4_node)
Definition at line 203 of file l3xc_node.c.
◆ l3xc_ip6_node
(constructor) VLIB_REGISTER_NODE (l3xc_ip6_node)
Definition at line 219 of file l3xc_node.c.
◆ l3xc_pool
Data-plane functions.
Data-plane functions.
Definition at line 30 of file l3xc.c.