Go to the source code of this file.
|
static uword | mpls_terminate (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int error_code) |
|
static uword | mpls_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | mpls_drop (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | mpls_not_enabled (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_ARC_INIT (mpls_input, static) |
|
| VNET_FEATURE_INIT (mpls_not_enabled, static) |
|
| VNET_FEATURE_INIT (mpls_lookup, static) |
|
| VNET_FEATURE_ARC_INIT (mpls_output, static) |
|
| VNET_FEATURE_INIT (mpls_interface_output, static) |
|
static clib_error_t * | mpls_sw_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (mpls_sw_interface_add_del) |
|
◆ mpls_drop()
◆ mpls_not_enabled()
◆ mpls_punt()
◆ mpls_sw_interface_add_del()
◆ mpls_terminate()
◆ VNET_FEATURE_ARC_INIT() [1/2]
◆ VNET_FEATURE_ARC_INIT() [2/2]
◆ VNET_FEATURE_INIT() [1/3]
◆ VNET_FEATURE_INIT() [2/3]
◆ VNET_FEATURE_INIT() [3/3]
VNET_FEATURE_INIT |
( |
mpls_interface_output |
, |
|
|
static |
|
|
) |
| |
◆ VNET_SW_INTERFACE_ADD_DEL_FUNCTION()
◆ mpls_drop_node
Initial value:= {
.name = "mpls-drop",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static uword mpls_drop(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (mpls_drop_node)
Definition at line 69 of file mpls_features.c.
◆ mpls_not_enabled_node
Initial value:= {
.name = "mpls-not-enabled",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static uword mpls_not_enabled(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (mpls_not_enabled_node)
Definition at line 90 of file mpls_features.c.
◆ mpls_punt_node
Initial value:= {
.name = "mpls-punt",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-punt",
},
}
static uword mpls_punt(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (mpls_punt_node)
Definition at line 48 of file mpls_features.c.