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 86 of file l3xc.h.
◆ l3xc_delete()
int l3xc_delete |
( |
u32 |
sw_if_index, |
|
|
u8 |
is_ip6 |
|
) |
| |
Delete an L3XC.
- Parameters
-
sw_if_index | the input interface |
is_ipv6 | - 0 if ip4, 1 if ip6 |
Definition at line 156 of file l3xc.c.
◆ l3xc_find()
Find a L3 XC object from an interface 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 | the input interface |
is_ipv6 | - 0 if ip4, 1 if ip6 |
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 304 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.