DPDK 22.11.5
Data Fields
rte_security_ipsec_tunnel_param Struct Reference

#include <rte_security.h>

Data Fields

enum rte_security_ipsec_tunnel_type type
 
struct in_addr src_ip
 
struct in_addr dst_ip
 
uint8_t dscp
 
uint8_t df
 
uint8_t ttl
 
struct {
   struct in_addr   src_ip
 
   struct in_addr   dst_ip
 
   uint8_t   dscp
 
   uint8_t   df
 
   uint8_t   ttl
 
ipv4
 
struct in6_addr src_addr
 
struct in6_addr dst_addr
 
uint32_t flabel
 
uint8_t hlimit
 
struct {
   struct in6_addr   src_addr
 
   struct in6_addr   dst_addr
 
   uint8_t   dscp
 
   uint32_t   flabel
 
   uint8_t   hlimit
 
ipv6
 

Detailed Description

IPSEC tunnel parameters

These parameters are used to build outbound tunnel headers.

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 95 of file rte_security.h.

Field Documentation

◆ type

Tunnel type: IPv4 or IPv6

Examples
examples/ipsec-secgw/ipsec.c, and examples/ipsec-secgw/sa.c.

Definition at line 96 of file rte_security.h.

◆ src_ip

struct in_addr src_ip

IPv4 source address

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 101 of file rte_security.h.

◆ dst_ip

struct in_addr dst_ip

IPv4 destination address

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 103 of file rte_security.h.

◆ dscp

uint8_t dscp

IPv4 Differentiated Services Code Point

IPv6 Differentiated Services Code Point

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 105 of file rte_security.h.

◆ df

uint8_t df

IPv4 Don't Fragment bit

Definition at line 107 of file rte_security.h.

◆ ttl

uint8_t ttl

IPv4 Time To Live

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 109 of file rte_security.h.

◆ 

struct { ... } ipv4

IPv4 header parameters

Examples
examples/ipsec-secgw/ipsec.c.

◆ src_addr

struct in6_addr src_addr

IPv6 source address

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 114 of file rte_security.h.

◆ dst_addr

struct in6_addr dst_addr

IPv6 destination address

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 116 of file rte_security.h.

◆ flabel

uint32_t flabel

IPv6 flow label

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 120 of file rte_security.h.

◆ hlimit

uint8_t hlimit

IPv6 hop limit

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 122 of file rte_security.h.

◆ 

struct { ... } ipv6

IPv6 header parameters

Examples
examples/ipsec-secgw/ipsec.c.

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