FD.io VPP
v17.01-9-ge7dcee4
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, |
Functions | |
static u8 * | format_lisp_gpe_rx_trace (u8 *s, va_list *args) |
static u32 | next_protocol_to_next_index (lisp_gpe_header_t *lgh, u8 *next_header) |
static tunnel_lookup_t * | next_index_to_iface (lisp_gpe_main_t *lgm, u32 next_index) |
static_always_inline void | incr_decap_stats (vnet_main_t *vnm, u32 cpu_index, u32 length, u32 sw_if_index, u32 *last_sw_if_index, u32 *n_packets, u32 *n_bytes) |
static uword | lisp_gpe_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_v4) |
LISP-GPE decap dispatcher. More... | |
static uword | lisp_gpe_ip4_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
static uword | lisp_gpe_ip6_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
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... | |
L2 LISP-GPE decap code.
Definition in file decap.c.
#define lisp_gpe_error | ( | n, | |
s | |||
) | s, |
static_always_inline void incr_decap_stats | ( | vnet_main_t * | vnm, |
u32 | cpu_index, | ||
u32 | length, | ||
u32 | sw_if_index, | ||
u32 * | last_sw_if_index, | ||
u32 * | n_packets, | ||
u32 * | n_bytes | ||
) |
|
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 141 of file decap.c.
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
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 |