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 (UNSUPPORTED_VERSION, "unsupported version")
mpls_error (PKTS_DECAP, "MPLS input packets decapsulated")
mpls_error (PKTS_ENCAP, "MPLS output packets encapsulated")
mpls_error (NO_LABEL, "MPLS no label for fib/dst")
}
Definition at line 391 of file mpls_lookup.c.
Initial value:= {
.name = "mpls-load-balance",
.vector_size =
sizeof (
u32),
.sibling_of = "mpls-lookup",
}
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 610 of file mpls_lookup.c.
Initial value:= {
.name = "mpls-lookup",
.vector_size =
sizeof (
u32),
.sibling_of = "ip4-lookup",
}
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.