API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_ipsec_sa_info_t Struct Reference

IPSEC SA information. More...

#include <ipsec_types.h>

Collaboration diagram for odp_ipsec_sa_info_t:
[legend]

Data Fields

odp_ipsec_sa_param_t param
 IPsec SA parameters.
 
union { 
 
   struct { 
 
      struct { 
 
         uint8_t   dst_addr [ODP_IPV6_ADDR_SIZE
 IP destination address (NETWORK ENDIAN) to be matched in addition to SPI value. More...
 
      }   lookup_param 
 Additional SA lookup parameters.
 
      uint32_t   antireplay_ws 
 Antireplay window size. More...
 
      uint64_t   antireplay_window_top 
 Antireplay window top. More...
 
   }   inbound 
 Inbound specific parameters.
 
   struct { 
 
      uint64_t   seq_num 
 Sequence number. More...
 
      union { 
 
         struct { 
 
            uint8_t   src_addr [ODP_IPV4_ADDR_SIZE
 IPv4 source address. More...
 
            uint8_t   dst_addr [ODP_IPV4_ADDR_SIZE
 IPv4 destination address. More...
 
         }   ipv4 
 IPv4.
 
         struct { 
 
            uint8_t   src_addr [ODP_IPV6_ADDR_SIZE
 IPv6 source address. More...
 
            uint8_t   dst_addr [ODP_IPV6_ADDR_SIZE
 IPv6 destination address. More...
 
         }   ipv6 
 IPv6.
 
      }   tunnel 
 Tunnel IP address.
 
   }   outbound 
 Outbound specific parameters.
 
};  
 IPSEC SA direction dependent parameters.
 

Detailed Description

IPSEC SA information.

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

Field Documentation

◆ param

odp_ipsec_sa_param_t odp_ipsec_sa_info_t::param

IPsec SA parameters.

This is not necessarily an exact copy of the actual parameter structure used in SA creation. The fields that were relevant for the SA in the creation phase will have the same values, but other fields, such as tunnel parameters for a transport mode SA, will have undefined values.

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

◆ dst_addr

uint8_t odp_ipsec_sa_info_t::dst_addr[ODP_IPV6_ADDR_SIZE]

IP destination address (NETWORK ENDIAN) to be matched in addition to SPI value.

IPv6 destination address.

IPv4 destination address.

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

◆ antireplay_ws

uint32_t odp_ipsec_sa_info_t::antireplay_ws

Antireplay window size.

Antireplay window size configured for the SA. This value can be different from what application had requested.

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

◆ antireplay_window_top

uint64_t odp_ipsec_sa_info_t::antireplay_window_top

Antireplay window top.

Sequence number representing a recent top of the anti-replay window. There may be a delay before the SA state is reflected in the value. The value will be zero if no packets have been processed or if the anti-replay service is not enabled.

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

◆ seq_num

uint64_t odp_ipsec_sa_info_t::seq_num

Sequence number.

Sequence number used for a recently processed packet. There may be a delay before the SA state is reflected in the value. When no packets have been processed, the value will be zero.

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

◆ src_addr

uint8_t odp_ipsec_sa_info_t::src_addr[ODP_IPV6_ADDR_SIZE]

IPv4 source address.

IPv6 source address.

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


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