Go to the source code of this file.
#define mpls_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
static u8* format_mpls_load_balance_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_mpls_lookup_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* mpls_error_strings[] |
|
static |
Initial value:= {
#define mpls_error(n,s)
mpls_error (PKTS_DECAP, "MPLS input packets decapsulated")
mpls_error (PKTS_ENCAP, "MPLS output packets encapsulated")
}
for(i=1;i<=collision_buckets;i++)
Definition at line 462 of file mpls_lookup.c.
Initial value:= {
.name = "mpls-load-balance",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes =
{
[0] = "mpls-drop",
},
}
static uword mpls_load_balance(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_mpls_load_balance_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (mpls_load_balance_node)
Definition at line 691 of file mpls_lookup.c.
Initial value:= {
.name = "mpls-lookup",
.vector_size =
sizeof (
u32),
.sibling_of = "mpls-load-balance",
}
format_function_t format_mpls_header
static uword mpls_lookup(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
unformat_function_t unformat_mpls_header
static char * mpls_error_strings[]
static u8 * format_mpls_lookup_trace(u8 *s, va_list *args)
Static MPLS VLIB forwarding node.
(constructor) VLIB_REGISTER_NODE (mpls_lookup_node)
Definition at line 28 of file mpls_lookup.c.
u32 mpls_lookup_to_replicate_edge |
The arc/edge from the MPLS lookup node to the MPLS replicate node.
Definition at line 33 of file mpls_lookup.c.