Go to the source code of this file.
#define foreach_mpls_policy_encap_next _(DROP, "error-drop") |
#define foreach_mpls_policy_error _(PKTS_ENCAP, "mpls policy tunnel packets encapsulated") |
Enumerator |
---|
MPLS_POLICY_ENCAP_N_ERROR |
|
Definition at line 54 of file policy_encap.c.
Enumerator |
---|
MPLS_POLICY_ENCAP_N_NEXT |
|
Definition at line 44 of file policy_encap.c.
u8* format_mpls_policy_encap_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
char* mpls_policy_encap_error_strings[] |
|
static |
Initial value:=
{
#define _(n,s)
}
#define foreach_mpls_policy_error
Definition at line 61 of file policy_encap.c.
Initial value:= {
.name = "mpls-policy-encap",
.vector_size =
sizeof (
u32),
.runtime_data_bytes = 0,
.next_nodes = {
#define _(s,n)
},
}
u8 * format_mpls_policy_encap_trace(u8 *s, va_list *args)
#define foreach_mpls_policy_encap_next
static uword mpls_policy_encap(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static char * mpls_policy_encap_error_strings[]
(constructor) VLIB_REGISTER_NODE (mpls_policy_encap_node)
Definition at line 39 of file policy_encap.c.