Go to the source code of this file.
#define mpls_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
u8* format_mpls_rx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
char* mpls_error_strings[] |
|
static |
Initial value:= {
#define mpls_error(n,s)
mpls_error (UNSUPPORTED_VERSION, "unsupported version")
mpls_error (PKTS_DECAP, "MPLS-GRE input packets decapsulated")
mpls_error (PKTS_ENCAP, "MPLS-GRE output packets encapsulated")
mpls_error (NO_LABEL, "MPLS-GRE no label for fib/dst")
}
Definition at line 252 of file node.c.
Initial value:= {
.name = "mpls-ethernet-input",
.vector_size =
sizeof (
u32),
.n_errors = MPLS_N_ERROR,
.next_nodes = {
#define _(s,n)
},
}
format_function_t format_mpls_eth_header_with_length
#define foreach_mpls_input_next
static uword mpls_ethernet_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
u8 * format_mpls_rx_trace(u8 *s, va_list *args)
static char * mpls_error_strings[]
unformat_function_t unformat_mpls_gre_header
(constructor) VLIB_REGISTER_NODE (mpls_ethernet_input_node)
Definition at line 292 of file node.c.
Initial value:= {
.name = "mpls-gre-input",
.vector_size =
sizeof (
u32),
.n_errors = MPLS_N_ERROR,
.next_nodes = {
#define _(s,n)
},
}
#define foreach_mpls_input_next
static uword mpls_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
format_function_t format_mpls_gre_header_with_length
u8 * format_mpls_rx_trace(u8 *s, va_list *args)
static char * mpls_error_strings[]
unformat_function_t unformat_mpls_gre_header
(constructor) VLIB_REGISTER_NODE (mpls_input_node)
Definition at line 52 of file node.c.