FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ipsec_sa_t Struct Reference
+ Collaboration diagram for ipsec_sa_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 
 CLIB_CACHE_LINE_ALIGN_MARK (cacheline1)
 
 CLIB_CACHE_LINE_ALIGN_MARK (cacheline2)
 

Data Fields

ipsec_sa_flags_t flags
 
u8 crypto_iv_size
 
u8 esp_block_align
 
u8 integ_icv_size
 
u32 thread_index
 
u32 spi
 
u32 seq
 
u32 seq_hi
 
u64 replay_window
 
u64 ctr_iv_counter
 
dpo_id_t dpo
 
vnet_crypto_key_index_t crypto_key_index
 
vnet_crypto_key_index_t integ_key_index
 
union {
   struct {
      vnet_crypto_op_id_t   crypto_enc_op_id:16
 
      vnet_crypto_op_id_t   crypto_dec_op_id:16
 
      vnet_crypto_op_id_t   integ_op_id:16
 
   } 
 
   struct {
      vnet_crypto_async_op_id_t   crypto_async_enc_op_id:16
 
      vnet_crypto_async_op_id_t   crypto_async_dec_op_id:16
 
      vnet_crypto_key_index_t   linked_key_index
 
   } 
 
   u64   crypto_op_data
 
}; 
 
union {
   ip4_header_t   ip4_hdr
 
   ip6_header_t   ip6_hdr
 
}; 
 
udp_header_t udp_hdr
 
u32 salt
 
ipsec_protocol_t protocol
 
tunnel_encap_decap_flags_t tunnel_flags
 
union {
   struct {
      vnet_crypto_op_id_t   crypto_enc_op_id:16
 
      vnet_crypto_op_id_t   crypto_dec_op_id:16
 
      vnet_crypto_op_id_t   integ_op_id:16
 
   } 
 
   u64   data
 
sync_op_data
 
union {
   struct {
      vnet_crypto_async_op_id_t   crypto_async_enc_op_id:16
 
      vnet_crypto_async_op_id_t   crypto_async_dec_op_id:16
 
      vnet_crypto_key_index_t   linked_key_index
 
   } 
 
   u64   data
 
async_op_data
 
tunnel_t tunnel
 
fib_node_t node
 
u32 id
 
u32 stat_index
 
vnet_crypto_alg_t integ_calg
 
vnet_crypto_alg_t crypto_calg
 
ipsec_crypto_alg_t crypto_alg
 
ipsec_integ_alg_t integ_alg
 
ipsec_key_t integ_key
 
ipsec_key_t crypto_key
 

Detailed Description

Definition at line 116 of file ipsec_sa.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/3]

ipsec_sa_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/3]

ipsec_sa_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline1  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [3/3]

ipsec_sa_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline2  )

Field Documentation

◆ @448

union { ... }

◆ @450

union { ... }

◆ async_op_data

union { ... } ipsec_sa_t::async_op_data

◆ crypto_alg

ipsec_crypto_alg_t ipsec_sa_t::crypto_alg

Definition at line 215 of file ipsec_sa.h.

◆ crypto_async_dec_op_id

vnet_crypto_async_op_id_t ipsec_sa_t::crypto_async_dec_op_id

Definition at line 155 of file ipsec_sa.h.

◆ crypto_async_enc_op_id

vnet_crypto_async_op_id_t ipsec_sa_t::crypto_async_enc_op_id

Definition at line 154 of file ipsec_sa.h.

◆ crypto_calg

vnet_crypto_alg_t ipsec_sa_t::crypto_calg

Definition at line 212 of file ipsec_sa.h.

◆ crypto_dec_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_dec_op_id

Definition at line 148 of file ipsec_sa.h.

◆ crypto_enc_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_enc_op_id

Definition at line 147 of file ipsec_sa.h.

◆ crypto_iv_size

u8 ipsec_sa_t::crypto_iv_size

Definition at line 123 of file ipsec_sa.h.

◆ crypto_key

ipsec_key_t ipsec_sa_t::crypto_key

Definition at line 219 of file ipsec_sa.h.

◆ crypto_key_index

vnet_crypto_key_index_t ipsec_sa_t::crypto_key_index

Definition at line 138 of file ipsec_sa.h.

◆ crypto_op_data

u64 ipsec_sa_t::crypto_op_data

Definition at line 159 of file ipsec_sa.h.

◆ ctr_iv_counter

u64 ipsec_sa_t::ctr_iv_counter

Definition at line 135 of file ipsec_sa.h.

◆ data

u64 ipsec_sa_t::data

Definition at line 190 of file ipsec_sa.h.

◆ dpo

dpo_id_t ipsec_sa_t::dpo

Definition at line 136 of file ipsec_sa.h.

◆ esp_block_align

u8 ipsec_sa_t::esp_block_align

Definition at line 124 of file ipsec_sa.h.

◆ flags

ipsec_sa_flags_t ipsec_sa_t::flags

Definition at line 121 of file ipsec_sa.h.

◆ id

u32 ipsec_sa_t::id

Definition at line 209 of file ipsec_sa.h.

◆ integ_alg

ipsec_integ_alg_t ipsec_sa_t::integ_alg

Definition at line 216 of file ipsec_sa.h.

◆ integ_calg

vnet_crypto_alg_t ipsec_sa_t::integ_calg

Definition at line 211 of file ipsec_sa.h.

◆ integ_icv_size

u8 ipsec_sa_t::integ_icv_size

Definition at line 125 of file ipsec_sa.h.

◆ integ_key

ipsec_key_t ipsec_sa_t::integ_key

Definition at line 218 of file ipsec_sa.h.

◆ integ_key_index

vnet_crypto_key_index_t ipsec_sa_t::integ_key_index

Definition at line 139 of file ipsec_sa.h.

◆ integ_op_id

vnet_crypto_op_id_t ipsec_sa_t::integ_op_id

Definition at line 149 of file ipsec_sa.h.

◆ ip4_hdr

ip4_header_t ipsec_sa_t::ip4_hdr

Definition at line 166 of file ipsec_sa.h.

◆ ip6_hdr

ip6_header_t ipsec_sa_t::ip6_hdr

Definition at line 167 of file ipsec_sa.h.

◆ linked_key_index

vnet_crypto_key_index_t ipsec_sa_t::linked_key_index

Definition at line 156 of file ipsec_sa.h.

◆ node

fib_node_t ipsec_sa_t::node

Definition at line 206 of file ipsec_sa.h.

◆ protocol

ipsec_protocol_t ipsec_sa_t::protocol

Definition at line 174 of file ipsec_sa.h.

◆ replay_window

u64 ipsec_sa_t::replay_window

Definition at line 134 of file ipsec_sa.h.

◆ salt

u32 ipsec_sa_t::salt

Definition at line 172 of file ipsec_sa.h.

◆ seq

u32 ipsec_sa_t::seq

Definition at line 132 of file ipsec_sa.h.

◆ seq_hi

u32 ipsec_sa_t::seq_hi

Definition at line 133 of file ipsec_sa.h.

◆ spi

u32 ipsec_sa_t::spi

Definition at line 131 of file ipsec_sa.h.

◆ stat_index

u32 ipsec_sa_t::stat_index

Definition at line 210 of file ipsec_sa.h.

◆ sync_op_data

union { ... } ipsec_sa_t::sync_op_data

◆ thread_index

u32 ipsec_sa_t::thread_index

Definition at line 129 of file ipsec_sa.h.

◆ tunnel

tunnel_t ipsec_sa_t::tunnel

Definition at line 204 of file ipsec_sa.h.

◆ tunnel_flags

tunnel_encap_decap_flags_t ipsec_sa_t::tunnel_flags

Definition at line 175 of file ipsec_sa.h.

◆ udp_hdr

udp_header_t ipsec_sa_t::udp_hdr

Definition at line 169 of file ipsec_sa.h.


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