FD.io VPP  v20.09-64-g4f7b92f0a
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)
 

Data Fields

ipsec_sa_flags_t flags
 
u8 crypto_iv_size
 
u8 esp_block_align
 
u8 integ_icv_size
 
u32 encrypt_thread_index
 
u32 decrypt_thread_index
 
u32 spi
 
u32 seq
 
u32 seq_hi
 
u32 last_seq
 
u32 last_seq_hi
 
u64 replay_window
 
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
 
fib_node_t node
 
u32 id
 
u32 stat_index
 
ipsec_protocol_t protocol
 
ipsec_crypto_alg_t crypto_alg
 
ipsec_key_t crypto_key
 
vnet_crypto_alg_t crypto_calg
 
ipsec_integ_alg_t integ_alg
 
ipsec_key_t integ_key
 
vnet_crypto_alg_t integ_calg
 
ip46_address_t tunnel_src_addr
 
ip46_address_t tunnel_dst_addr
 
fib_node_index_t fib_entry_index
 
u32 sibling
 
u32 tx_fib_index
 
u32 salt
 
u64 gcm_iv_counter
 
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
 

Detailed Description

Definition at line 108 of file ipsec_sa.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]

ipsec_sa_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]

ipsec_sa_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline1  )

Field Documentation

◆ @430

union { ... }

◆ @432

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 167 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 145 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 144 of file ipsec_sa.h.

◆ crypto_calg

vnet_crypto_alg_t ipsec_sa_t::crypto_calg

Definition at line 169 of file ipsec_sa.h.

◆ crypto_dec_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_dec_op_id

Definition at line 138 of file ipsec_sa.h.

◆ crypto_enc_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_enc_op_id

Definition at line 137 of file ipsec_sa.h.

◆ crypto_iv_size

u8 ipsec_sa_t::crypto_iv_size

Definition at line 115 of file ipsec_sa.h.

◆ crypto_key

ipsec_key_t ipsec_sa_t::crypto_key

Definition at line 168 of file ipsec_sa.h.

◆ crypto_key_index

vnet_crypto_key_index_t ipsec_sa_t::crypto_key_index

Definition at line 128 of file ipsec_sa.h.

◆ crypto_op_data

u64 ipsec_sa_t::crypto_op_data

Definition at line 149 of file ipsec_sa.h.

◆ data

u64 ipsec_sa_t::data

Definition at line 195 of file ipsec_sa.h.

◆ decrypt_thread_index

u32 ipsec_sa_t::decrypt_thread_index

Definition at line 119 of file ipsec_sa.h.

◆ dpo

dpo_id_t ipsec_sa_t::dpo

Definition at line 126 of file ipsec_sa.h.

◆ encrypt_thread_index

u32 ipsec_sa_t::encrypt_thread_index

Definition at line 118 of file ipsec_sa.h.

◆ esp_block_align

u8 ipsec_sa_t::esp_block_align

Definition at line 116 of file ipsec_sa.h.

◆ fib_entry_index

fib_node_index_t ipsec_sa_t::fib_entry_index

Definition at line 178 of file ipsec_sa.h.

◆ flags

ipsec_sa_flags_t ipsec_sa_t::flags

Definition at line 113 of file ipsec_sa.h.

◆ gcm_iv_counter

u64 ipsec_sa_t::gcm_iv_counter

Definition at line 185 of file ipsec_sa.h.

◆ id

u32 ipsec_sa_t::id

Definition at line 163 of file ipsec_sa.h.

◆ integ_alg

ipsec_integ_alg_t ipsec_sa_t::integ_alg

Definition at line 171 of file ipsec_sa.h.

◆ integ_calg

vnet_crypto_alg_t ipsec_sa_t::integ_calg

Definition at line 173 of file ipsec_sa.h.

◆ integ_icv_size

u8 ipsec_sa_t::integ_icv_size

Definition at line 117 of file ipsec_sa.h.

◆ integ_key

ipsec_key_t ipsec_sa_t::integ_key

Definition at line 172 of file ipsec_sa.h.

◆ integ_key_index

vnet_crypto_key_index_t ipsec_sa_t::integ_key_index

Definition at line 129 of file ipsec_sa.h.

◆ integ_op_id

vnet_crypto_op_id_t ipsec_sa_t::integ_op_id

Definition at line 139 of file ipsec_sa.h.

◆ ip4_hdr

ip4_header_t ipsec_sa_t::ip4_hdr

Definition at line 157 of file ipsec_sa.h.

◆ ip6_hdr

ip6_header_t ipsec_sa_t::ip6_hdr

Definition at line 158 of file ipsec_sa.h.

◆ last_seq

u32 ipsec_sa_t::last_seq

Definition at line 123 of file ipsec_sa.h.

◆ last_seq_hi

u32 ipsec_sa_t::last_seq_hi

Definition at line 124 of file ipsec_sa.h.

◆ linked_key_index

vnet_crypto_key_index_t ipsec_sa_t::linked_key_index

Definition at line 146 of file ipsec_sa.h.

◆ node

fib_node_t ipsec_sa_t::node

Definition at line 162 of file ipsec_sa.h.

◆ protocol

ipsec_protocol_t ipsec_sa_t::protocol

Definition at line 165 of file ipsec_sa.h.

◆ replay_window

u64 ipsec_sa_t::replay_window

Definition at line 125 of file ipsec_sa.h.

◆ salt

u32 ipsec_sa_t::salt

Definition at line 184 of file ipsec_sa.h.

◆ seq

u32 ipsec_sa_t::seq

Definition at line 121 of file ipsec_sa.h.

◆ seq_hi

u32 ipsec_sa_t::seq_hi

Definition at line 122 of file ipsec_sa.h.

◆ sibling

u32 ipsec_sa_t::sibling

Definition at line 179 of file ipsec_sa.h.

◆ spi

u32 ipsec_sa_t::spi

Definition at line 120 of file ipsec_sa.h.

◆ stat_index

u32 ipsec_sa_t::stat_index

Definition at line 164 of file ipsec_sa.h.

◆ sync_op_data

union { ... } ipsec_sa_t::sync_op_data

◆ tunnel_dst_addr

ip46_address_t ipsec_sa_t::tunnel_dst_addr

Definition at line 176 of file ipsec_sa.h.

◆ tunnel_src_addr

ip46_address_t ipsec_sa_t::tunnel_src_addr

Definition at line 175 of file ipsec_sa.h.

◆ tx_fib_index

u32 ipsec_sa_t::tx_fib_index

Definition at line 181 of file ipsec_sa.h.

◆ udp_hdr

udp_header_t ipsec_sa_t::udp_hdr

Definition at line 160 of file ipsec_sa.h.


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