![]() |
FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
L2 LISP-GPE decap code. More...
Go to the source code of this file.
Data Structures | |
struct | lisp_gpe_rx_trace_t |
Macros | |
#define | lisp_gpe_error(n, s) s, |
Variables | |
static u32 | next_proto_to_next_index [LISP_GPE_NEXT_PROTOS] |
static char * | lisp_gpe_ip4_input_error_strings [] |
vlib_node_registration_t | lisp_gpe_ip4_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip4_input_node) More... | |
vlib_node_registration_t | lisp_gpe_ip6_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip6_input_node) More... | |
static char * | lisp_gpe_nsh_dummy_error_strings [] |
vlib_node_registration_t | lisp_gpe_nsh_dummy_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_nsh_dummy_input_node) More... | |
static vlib_cli_command_t | lisp_add_dummy_nsh_node_command |
(constructor) VLIB_CLI_COMMAND (lisp_add_dummy_nsh_node_command) More... | |
L2 LISP-GPE decap code.
Definition in file decap.c.
#define lisp_gpe_error | ( | n, | |
s | |||
) | s, |
|
static |
clib_error_t* gpe_decap_init | ( | vlib_main_t * | vm | ) |
static_always_inline void incr_decap_stats | ( | vnet_main_t * | vnm, |
u32 | thread_index, | ||
u32 | length, | ||
u32 | sw_if_index, | ||
u32 * | last_sw_if_index, | ||
u32 * | n_packets, | ||
u32 * | n_bytes | ||
) |
|
static |
|
static |
LISP-GPE decap dispatcher.
lisp_gpe_input_inline
LISP-GPE decap dispatcher.
Decaps IP-UDP-LISP-GPE header and based on the next protocol and in the GPE header and the vni decides the next node to forward the packet to.
[in] | vm | vlib_main_t corresponding to current thread. |
[in] | node | vlib_node_runtime_t data for this node. |
[in] | frame | vlib_frame_t whose contents should be dispatched. |
Definition at line 150 of file decap.c.
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
(constructor) VLIB_CLI_COMMAND (lisp_add_dummy_nsh_node_command)
|
static |
vlib_node_registration_t lisp_gpe_ip4_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip4_input_node)
vlib_node_registration_t lisp_gpe_ip6_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip6_input_node)
|
static |
vlib_node_registration_t lisp_gpe_nsh_dummy_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_nsh_dummy_input_node)
|
static |