Go to the source code of this file.
◆ mpls_error
#define mpls_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
◆ format_mpls_load_balance_trace()
static u8* format_mpls_load_balance_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_mpls_lookup_trace()
static u8* format_mpls_lookup_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ mpls_load_balance()
◆ mpls_lookup()
◆ mpls_lookup_init()
◆ mpls_error_strings
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.
◆ mpls_load_balance_node
Initial value:= {
.name = "mpls-load-balance",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes =
{
},
}
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.
◆ mpls_lookup_node
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.
◆ mpls_lookup_to_replicate_edge
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.