Go to the source code of this file.
|
static u8 * | format_mpls_output_trace (u8 *s, va_list *args) |
|
static uword | mpls_output_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_midchain) |
|
static uword | mpls_output (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | mpls_midchain (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | mpls_adj_incomplete (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| Graph node for incomplete MPLS adjacency. More...
|
|
static u8 * | format_mpls_adj_incomplete_trace (u8 *s, va_list *args) |
|
#define foreach_mpls_adj_incomplete_next |
Value:_(
IP6,
"ip6-discover-neighbor")
Next index values from the MPLS incomplete adj node.
Definition at line 358 of file mpls_output.c.
#define foreach_mpls_output_next _(DROP, "error-drop") |
#define mpls_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
A struct to hold tracing information for the MPLS label imposition node.
Enumerator |
---|
MPLS_ADJ_INCOMPLETE_N_NEXT |
|
Definition at line 363 of file mpls_output.c.
static u8* format_mpls_adj_incomplete_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_mpls_output_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Graph node for incomplete MPLS adjacency.
This node will push traffic to either the v4-arp or v6-nd node based on the next-hop proto of the adj. We pay a cost for this 'routing' node, but an incomplete adj is the exception case.
Definition at line 388 of file mpls_output.c.
Initial value:= {
.name = "mpls-adj-incomplete",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_mpls_adj_incomplete_trace(u8 *s, va_list *args)
static uword mpls_adj_incomplete(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Graph node for incomplete MPLS adjacency.
#define foreach_mpls_adj_incomplete_next
Next index values from the MPLS incomplete adj node.
static char * mpls_error_strings[]
(constructor) VLIB_REGISTER_NODE (mpls_adj_incomplete_node)
Definition at line 466 of file mpls_output.c.
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 301 of file mpls_output.c.
Initial value:= {
.name = "mpls-midchain",
.vector_size =
sizeof (
u32),
.sibling_of = "mpls-output",
}
static u8 * format_mpls_output_trace(u8 *s, va_list *args)
static uword mpls_midchain(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
(constructor) VLIB_REGISTER_NODE (mpls_midchain_node)
Definition at line 343 of file mpls_output.c.
Initial value:= {
.name = "mpls-output",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
#define foreach_mpls_output_next
static u8 * format_mpls_output_trace(u8 *s, va_list *args)
static uword mpls_output(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static char * mpls_error_strings[]
(constructor) VLIB_REGISTER_NODE (mpls_output_node)
Definition at line 315 of file mpls_output.c.