DPDK
23.03.0
|
#include <rte_swx_ipsec.h>
Data Fields | |
struct { | |
uint32_t spi | |
} | esp |
int | tunnel_mode |
int | tunnel_ipv4 |
union { | |
struct { | |
struct in_addr src_addr | |
struct in_addr dst_addr | |
} ipv4 | |
struct { | |
struct in6_addr src_addr | |
struct in6_addr dst_addr | |
} ipv6 | |
} | tunnel |
IPsec protocol encapsulation parameters.
Definition at line 226 of file rte_swx_ipsec.h.
uint32_t spi |
Security Parameters Index (SPI) field.
Definition at line 230 of file rte_swx_ipsec.h.
struct { ... } esp |
Encapsulating Security Payload (ESP) header.
int tunnel_mode |
Tunnel mode when non-zero, transport mode when zero.
Definition at line 234 of file rte_swx_ipsec.h.
int tunnel_ipv4 |
Tunnel type: Non-zero for IPv4, zero for IPv6. Valid for tunnel mode only.
Definition at line 237 of file rte_swx_ipsec.h.
struct in_addr src_addr |
Source address.
Definition at line 244 of file rte_swx_ipsec.h.
struct in_addr dst_addr |
Destination address.
Definition at line 247 of file rte_swx_ipsec.h.
struct { ... } ipv4 |
IPv4 header.
struct in6_addr src_addr |
Source address.
Definition at line 253 of file rte_swx_ipsec.h.
struct in6_addr dst_addr |
Destination address.
Definition at line 256 of file rte_swx_ipsec.h.
struct { ... } ipv6 |
IPv6 header.
union { ... } tunnel |
Tunnel parameters. Valid for tunnel mode only.