Go to the source code of this file.
|
static u8 * | format_mpls_drop_trace (u8 *s, va_list *args) |
|
static void | mpls_drop_trace (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | mpls_terminate (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int error_code) |
|
VLIB_NODE_FN() | mpls_punt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | mpls_drop_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | mpls_not_enabled_node (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) |
|
◆ format_mpls_drop_trace()
static u8* format_mpls_drop_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ mpls_drop_node()
◆ mpls_drop_trace()
◆ mpls_not_enabled_node()
◆ mpls_punt_node()
◆ mpls_sw_interface_add_del()
◆ mpls_terminate()
◆ VNET_FEATURE_ARC_INIT() [1/2]
VNET_FEATURE_ARC_INIT |
( |
mpls_input |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_ARC_INIT() [2/2]
VNET_FEATURE_ARC_INIT |
( |
mpls_output |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [1/3]
VNET_FEATURE_INIT |
( |
mpls_not_enabled |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/3]
VNET_FEATURE_INIT |
( |
mpls_lookup |
, |
|
|
static |
|
|
) |
| |
◆ 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 u8 * format_mpls_drop_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (mpls_drop_node)
Definition at line 105 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 u8 * format_mpls_drop_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (mpls_not_enabled_node)
Definition at line 123 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 u8 * format_mpls_drop_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (mpls_punt_node)
Definition at line 87 of file mpls_features.c.