Go to the source code of this file.
#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.
#define L3XC_PLUGIN_VERSION_MINOR 0 |
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.
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.
Find a L3 XC object from an interfce and FIB protocol.
Definition at line 38 of file l3xc.c.
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.
Walk/visit each of the L3XC policies.
Definition at line 303 of file l3xc.c.
(constructor) VLIB_REGISTER_NODE (l3xc_ip4_node)
Definition at line 203 of file l3xc_node.c.
(constructor) VLIB_REGISTER_NODE (l3xc_ip6_node)
Definition at line 219 of file l3xc_node.c.
Data-plane functions.
Data-plane functions.
Definition at line 30 of file l3xc.c.