![]() |
FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
L2-GRE over IPSec packet processing. More...
Include dependency graph for ipsec_gre.c:Go to the source code of this file.
Data Structures | |
| struct | ip4_and_gre_union_t |
| IPv4 and GRE header union. More... | |
| struct | ipsec_gre_tx_trace_t |
| Packet trace. More... | |
Functions | |
| static u8 * | format_ipsec_gre_tx_trace (u8 *s, va_list *args) |
| VNET_DEVICE_CLASS_TX_FN() | ipsec_gre_device_class (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPSec-GRE tunnel interface tx function. More... | |
| static clib_error_t * | ipsec_gre_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
| static u8 * | format_ipsec_gre_tunnel_name (u8 *s, va_list *args) |
| static u8 * | format_ipsec_gre_device (u8 *s, va_list *args) |
| VNET_DEVICE_CLASS (ipsec_gre_device_class) | |
| VNET_HW_INTERFACE_CLASS (ipsec_gre_hw_interface_class) | |
| static clib_error_t * | ipsec_gre_init (vlib_main_t *vm) |
Variables | |
| ipsec_gre_main_t | ipsec_gre_main |
L2-GRE over IPSec packet processing.
Add GRE header to thr packet and send it to the esp-encrypt node.
Definition in file ipsec_gre.c.
Definition at line 332 of file ipsec_gre.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 61 of file ipsec_gre.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VNET_DEVICE_CLASS_TX_FN() ipsec_gre_device_class | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
IPSec-GRE tunnel interface tx function.
Add GRE header to the packet.
| vm | vlib_main_t corresponding to the current thread. |
| node | vlib_node_runtime_t data for this node. |
| frame | vlib_frame_t whose contents should be dispatched. |
Uses:
node->runtime_datard->dev_instance in IPSec-GRE tunnels pool.Sets:
vnet_buffer(b)->output_features.ipsec_sad_indexvnet_buffer(b)->sw_if_index[VLIB_TX]Next Index:
Definition at line 99 of file ipsec_gre.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 366 of file ipsec_gre.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 319 of file ipsec_gre.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VNET_DEVICE_CLASS | ( | ipsec_gre_device_class | ) |
Here is the caller graph for this function:| VNET_HW_INTERFACE_CLASS | ( | ipsec_gre_hw_interface_class | ) |
Here is the caller graph for this function:| ipsec_gre_main_t ipsec_gre_main |
Definition at line 28 of file ipsec_gre.c.