|
static u8 * | format_vxlan_gpe_rx_trace (u8 *s, va_list *args) |
| Tracing function for VXLAN GPE packet decapsulation. More...
|
|
static u8 * | format_vxlan_gpe_with_length (u8 *s, va_list *args) |
| Tracing function for VXLAN GPE packet decapsulation including length. More...
|
|
static uword | vxlan_gpe_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_ip4) |
| Common processing for IPv4 and IPv6 VXLAN GPE decap dispatch functions. More...
|
|
static uword | vxlan4_gpe_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| Graph processing dispatch function for IPv4 VXLAN GPE. More...
|
|
void | vxlan_gpe_register_decap_protocol (u8 protocol_id, uword next_node_index) |
|
void | vxlan_gpe_unregister_decap_protocol (u8 protocol_id, uword next_node_index) |
|
static uword | vxlan6_gpe_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| Graph processing dispatch function for IPv6 VXLAN GPE. More...
|
|
| VLIB_NODE_FUNCTION_MULTIARCH (vxlan4_gpe_input_node, vxlan4_gpe_input) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (vxlan6_gpe_input_node, vxlan6_gpe_input) |
|
Functions for decapsulating VXLAN GPE tunnels.
Definition in file decap.c.
Common processing for IPv4 and IPv6 VXLAN GPE decap dispatch functions.
It is worth noting that other than trivial UDP forwarding (transit), VXLAN GPE tunnels are "terminate local". This means that there is no "TX" interface for this decap case, so that field in the buffer_metadata can be "used for something else". The something else in this case is, for the IPv4/IPv6 inner-packet type case, the FIB index used to look up the inner-packet's adjacency.
vnet_buffer(b0)->sw_if_index[VLIB_TX] = t0->decap_fib_index;
- Parameters
-
*vm | |
*node | |
*from_frame | |
is_ip4 | |
- Returns
- from_frame->n_vectors
ip[46] lookup in the configured FIB
Definition at line 105 of file decap.c.