FD.io VPP
v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
|
L2-GRE over IPSec packet processing. More...
Go to the source code of this file.
Data Structures | |
struct | ipsec_gre_rx_trace_t |
Macros | |
#define | foreach_ipsec_gre_input_next |
#define | ipsec_gre_error(n, s) s, |
Enumerations | |
enum | ipsec_gre_input_next_t { IPSEC_GRE_INPUT_N_NEXT } |
Functions | |
u8 * | format_ipsec_gre_rx_trace (u8 *s, va_list *args) |
static uword | ipsec_gre_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
L2-GRE over IPSec input node. More... | |
static clib_error_t * | ipsec_gre_input_init (vlib_main_t *vm) |
Variables | |
static char * | ipsec_gre_error_strings [] |
vlib_node_registration_t | ipsec_gre_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec_gre_input_node) More... | |
L2-GRE over IPSec packet processing.
Removes GRE header from the packet and sends it to the l2-input node.
Definition in file node.c.
#define foreach_ipsec_gre_input_next |
#define ipsec_gre_error | ( | n, | |
s | |||
) | s, |
|
static |
L2-GRE over IPSec input node.
ipsec-gre-input
This node remove GRE header.
vm | vlib_main_t corresponding to the current thread. |
node | vlib_node_runtime_t data for this node. |
from_frame | vlib_frame_t whose contents should be dispatched. |
Uses:
ip->src_address
and ip->dst_address
Sets:
vnet_buffer(b)->gre.src
vnet_buffer(b)->gre.dst
vnet_buffer(b)->sw_if_index[VLIB_RX]
Next Index:
Definition at line 87 of file node.c.
|
static |
|
static |
vlib_node_registration_t ipsec_gre_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec_gre_input_node)