DPDK  23.07.0
Data Fields
rte_swx_ipsec_sa_encap_params Struct Reference

#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
 

Detailed Description

IPsec protocol encapsulation parameters.

Definition at line 224 of file rte_swx_ipsec.h.

Field Documentation

◆ spi

uint32_t spi

Security Parameters Index (SPI) field.

Definition at line 228 of file rte_swx_ipsec.h.

◆ esp

struct { ... } esp

Encapsulating Security Payload (ESP) header.

◆ tunnel_mode

int tunnel_mode

Tunnel mode when non-zero, transport mode when zero.

Definition at line 232 of file rte_swx_ipsec.h.

◆ tunnel_ipv4

int tunnel_ipv4

Tunnel type: Non-zero for IPv4, zero for IPv6. Valid for tunnel mode only.

Definition at line 235 of file rte_swx_ipsec.h.

◆ src_addr [1/2]

struct in_addr src_addr

Source address.

Definition at line 242 of file rte_swx_ipsec.h.

◆ dst_addr [1/2]

struct in_addr dst_addr

Destination address.

Definition at line 245 of file rte_swx_ipsec.h.

◆ ipv4

struct { ... } ipv4

IPv4 header.

◆ src_addr [2/2]

struct in6_addr src_addr

Source address.

Definition at line 251 of file rte_swx_ipsec.h.

◆ dst_addr [2/2]

struct in6_addr dst_addr

Destination address.

Definition at line 254 of file rte_swx_ipsec.h.

◆ ipv6

struct { ... } ipv6

IPv6 header.

◆ tunnel

union { ... } tunnel

Tunnel parameters. Valid for tunnel mode only.


The documentation for this struct was generated from the following file: