Go to the source code of this file.
|
u8 * | format_gre_rx_trace (u8 *s, va_list *args) |
|
static uword | gre_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_ipv6) |
|
static uword | gre4_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | gre6_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
void | gre_register_input_protocol (vlib_main_t *vm, gre_protocol_t protocol, u32 node_index) |
|
static void | gre_setup_node (vlib_main_t *vm, u32 node_index) |
|
static clib_error_t * | gre_input_init (vlib_main_t *vm) |
|
#define foreach_gre_input_next |
Value:_(PUNT, "error-punt") \
_(ETHERNET_INPUT, "ethernet-input") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input") \
_(MPLS_INPUT, "mpls-input")
Definition at line 24 of file node.c.
#define gre_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
Enumerator |
---|
GRE_INPUT_N_NEXT |
|
Definition at line 32 of file node.c.
u8* format_gre_rx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Initial value:= {
.name = "gre4-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
format_function_t format_gre_header_with_length
static uword gre4_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
#define foreach_gre_input_next
static char * gre_error_strings[]
unformat_function_t unformat_gre_header
u8 * format_gre_rx_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gre4_input_node)
Definition at line 575 of file node.c.
Initial value:= {
.name = "gre6-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
format_function_t format_gre_header_with_length
#define foreach_gre_input_next
static char * gre_error_strings[]
unformat_function_t unformat_gre_header
u8 * format_gre_rx_trace(u8 *s, va_list *args)
static uword gre6_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
(constructor) VLIB_REGISTER_NODE (gre6_input_node)
Definition at line 598 of file node.c.
char* gre_error_strings[] |
|
static |
Initial value:= {
#define gre_error(n,s)
gre_error (UNKNOWN_PROTOCOL, "unknown protocol")
gre_error (UNSUPPORTED_VERSION, "unsupported version")
gre_error (PKTS_DECAP, "GRE input packets decapsulated")
gre_error (PKTS_ENCAP, "GRE output packets encapsulated")
gre_error (NO_SUCH_TUNNEL, "GRE input packets dropped due to missing tunnel")
}
Definition at line 568 of file node.c.