API Reference Manual  1.45.0
odp_ipsec_sa_opt_t Struct Reference

IPSEC SA option flags. More...

#include <ipsec_types.h>

Data Fields

uint32_t esn: 1
 Extended Sequence Numbers (ESN) More...
 
uint32_t udp_encap: 1
 UDP encapsulation. More...
 
uint32_t copy_dscp: 1
 Copy DSCP bits. More...
 
uint32_t copy_flabel: 1
 Copy IPv6 Flow Label. More...
 
uint32_t copy_df: 1
 Copy IPv4 Don't Fragment bit. More...
 
uint32_t dec_ttl: 1
 Decrement inner packet Time To Live (TTL) field. More...
 

Detailed Description

IPSEC SA option flags.

Definition at line 677 of file api/spec/ipsec_types.h.

Field Documentation

◆ esn

uint32_t odp_ipsec_sa_opt_t::esn

Extended Sequence Numbers (ESN)

  • 1: Use extended (64 bit) sequence numbers
  • 0: Use normal sequence numbers (the default value)

Definition at line 683 of file api/spec/ipsec_types.h.

◆ udp_encap

uint32_t odp_ipsec_sa_opt_t::udp_encap

UDP encapsulation.

  • 1: Do UDP encapsulation/decapsulation so that IPSEC packets can traverse through NAT boxes.
  • 0: No UDP encapsulation (the default value)

Definition at line 691 of file api/spec/ipsec_types.h.

◆ copy_dscp

uint32_t odp_ipsec_sa_opt_t::copy_dscp

Copy DSCP bits.

  • 1: Copy IPv4 or IPv6 DSCP bits from inner IP header to the outer IP header in encapsulation, and vice versa in decapsulation.
  • 0: Use values from odp_ipsec_tunnel_param_t in encapsulation and do not change DSCP field in decapsulation (the default value).

Definition at line 701 of file api/spec/ipsec_types.h.

◆ copy_flabel

uint32_t odp_ipsec_sa_opt_t::copy_flabel

Copy IPv6 Flow Label.

  • 1: Copy IPv6 flow label from inner IPv6 header to the outer IPv6 header.
  • 0: Use value from odp_ipsec_tunnel_param_t (the default value)

Definition at line 709 of file api/spec/ipsec_types.h.

◆ copy_df

uint32_t odp_ipsec_sa_opt_t::copy_df

Copy IPv4 Don't Fragment bit.

  • 1: Copy the DF bit from the inner IPv4 header to the outer IPv4 header.
  • 0: Use value from odp_ipsec_tunnel_param_t (the default value)

Definition at line 717 of file api/spec/ipsec_types.h.

◆ dec_ttl

uint32_t odp_ipsec_sa_opt_t::dec_ttl

Decrement inner packet Time To Live (TTL) field.

  • 1: In tunnel mode, decrement inner packet IPv4 TTL or IPv6 Hop Limit after tunnel decapsulation, or before tunnel encapsulation.
  • 0: Inner packet is not modified (the default value)

Definition at line 726 of file api/spec/ipsec_types.h.


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