FD.io VPP  v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
mpls_features.c File Reference
+ Include dependency graph for mpls_features.c:

Go to the source code of this file.

Functions

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_tmpls_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)
 

Variables

vlib_node_registration_t mpls_punt_node
 (constructor) VLIB_REGISTER_NODE (mpls_punt_node) More...
 
vlib_node_registration_t mpls_drop_node
 (constructor) VLIB_REGISTER_NODE (mpls_drop_node) More...
 
vlib_node_registration_t mpls_not_enabled_node
 (constructor) VLIB_REGISTER_NODE (mpls_not_enabled_node) More...
 

Function Documentation

static uword mpls_drop ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 62 of file mpls_features.c.

+ Here is the call graph for this function:

static uword mpls_not_enabled ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 83 of file mpls_features.c.

+ Here is the call graph for this function:

static uword mpls_punt ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 41 of file mpls_features.c.

+ Here is the call graph for this function:

static clib_error_t* mpls_sw_interface_add_del ( vnet_main_t vnm,
u32  sw_if_index,
u32  is_add 
)
static

Definition at line 137 of file mpls_features.c.

+ Here is the call graph for this function:

static uword mpls_terminate ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
int  error_code 
)
inlinestatic

Definition at line 21 of file mpls_features.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VNET_FEATURE_ARC_INIT ( mpls_input  ,
static   
)
VNET_FEATURE_ARC_INIT ( mpls_output  ,
static   
)
VNET_FEATURE_INIT ( mpls_not_enabled  ,
static   
)
VNET_FEATURE_INIT ( mpls_lookup  ,
static   
)
VNET_FEATURE_INIT ( mpls_interface_output  ,
static   
)
VNET_SW_INTERFACE_ADD_DEL_FUNCTION ( mpls_sw_interface_add_del  )

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t mpls_drop_node
Initial value:
= {
.function = mpls_drop,
.name = "mpls-drop",
.vector_size = sizeof (u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
unsigned int u32
Definition: types.h:88
static uword mpls_drop(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: mpls_features.c:62

(constructor) VLIB_REGISTER_NODE (mpls_drop_node)

Definition at line 69 of file mpls_features.c.

vlib_node_registration_t mpls_not_enabled_node
Initial value:
= {
.function = mpls_not_enabled,
.name = "mpls-not-enabled",
.vector_size = sizeof (u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
unsigned int u32
Definition: types.h:88
static uword mpls_not_enabled(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: mpls_features.c:83

(constructor) VLIB_REGISTER_NODE (mpls_not_enabled_node)

Definition at line 90 of file mpls_features.c.

vlib_node_registration_t mpls_punt_node
Initial value:
= {
.function = mpls_punt,
.name = "mpls-punt",
.vector_size = sizeof (u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-punt",
},
}
unsigned int u32
Definition: types.h:88
static uword mpls_punt(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: mpls_features.c:41

(constructor) VLIB_REGISTER_NODE (mpls_punt_node)

Definition at line 48 of file mpls_features.c.