FD.io VPP  v21.01.1
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 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
 
}; 
 
u64 gcm_iv_counter
 
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
 
ip_dscp_t dscp
 
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
 
ip46_address_t tunnel_src_addr
 
ip46_address_t tunnel_dst_addr
 
fib_node_t node
 
u32 id
 
u32 stat_index
 
vnet_crypto_alg_t integ_calg
 
vnet_crypto_alg_t crypto_calg
 
fib_node_index_t fib_entry_index
 
u32 sibling
 
u32 tx_fib_index
 
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 109 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

◆ @450

union { ... }

◆ @452

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 213 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 146 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 145 of file ipsec_sa.h.

◆ crypto_calg

vnet_crypto_alg_t ipsec_sa_t::crypto_calg

Definition at line 206 of file ipsec_sa.h.

◆ crypto_dec_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_dec_op_id

Definition at line 139 of file ipsec_sa.h.

◆ crypto_enc_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_enc_op_id

Definition at line 138 of file ipsec_sa.h.

◆ crypto_iv_size

u8 ipsec_sa_t::crypto_iv_size

Definition at line 116 of file ipsec_sa.h.

◆ crypto_key

ipsec_key_t ipsec_sa_t::crypto_key

Definition at line 217 of file ipsec_sa.h.

◆ crypto_key_index

vnet_crypto_key_index_t ipsec_sa_t::crypto_key_index

Definition at line 129 of file ipsec_sa.h.

◆ crypto_op_data

u64 ipsec_sa_t::crypto_op_data

Definition at line 150 of file ipsec_sa.h.

◆ data

u64 ipsec_sa_t::data

Definition at line 183 of file ipsec_sa.h.

◆ decrypt_thread_index

u32 ipsec_sa_t::decrypt_thread_index

Definition at line 120 of file ipsec_sa.h.

◆ dpo

dpo_id_t ipsec_sa_t::dpo

Definition at line 127 of file ipsec_sa.h.

◆ dscp

ip_dscp_t ipsec_sa_t::dscp

Definition at line 168 of file ipsec_sa.h.

◆ encrypt_thread_index

u32 ipsec_sa_t::encrypt_thread_index

Definition at line 119 of file ipsec_sa.h.

◆ esp_block_align

u8 ipsec_sa_t::esp_block_align

Definition at line 117 of file ipsec_sa.h.

◆ fib_entry_index

fib_node_index_t ipsec_sa_t::fib_entry_index

Definition at line 208 of file ipsec_sa.h.

◆ flags

ipsec_sa_flags_t ipsec_sa_t::flags

Definition at line 114 of file ipsec_sa.h.

◆ gcm_iv_counter

u64 ipsec_sa_t::gcm_iv_counter

Definition at line 155 of file ipsec_sa.h.

◆ id

u32 ipsec_sa_t::id

Definition at line 203 of file ipsec_sa.h.

◆ integ_alg

ipsec_integ_alg_t ipsec_sa_t::integ_alg

Definition at line 214 of file ipsec_sa.h.

◆ integ_calg

vnet_crypto_alg_t ipsec_sa_t::integ_calg

Definition at line 205 of file ipsec_sa.h.

◆ integ_icv_size

u8 ipsec_sa_t::integ_icv_size

Definition at line 118 of file ipsec_sa.h.

◆ integ_key

ipsec_key_t ipsec_sa_t::integ_key

Definition at line 216 of file ipsec_sa.h.

◆ integ_key_index

vnet_crypto_key_index_t ipsec_sa_t::integ_key_index

Definition at line 130 of file ipsec_sa.h.

◆ integ_op_id

vnet_crypto_op_id_t ipsec_sa_t::integ_op_id

Definition at line 140 of file ipsec_sa.h.

◆ ip4_hdr

ip4_header_t ipsec_sa_t::ip4_hdr

Definition at line 158 of file ipsec_sa.h.

◆ ip6_hdr

ip6_header_t ipsec_sa_t::ip6_hdr

Definition at line 159 of file ipsec_sa.h.

◆ last_seq

u32 ipsec_sa_t::last_seq

Definition at line 124 of file ipsec_sa.h.

◆ last_seq_hi

u32 ipsec_sa_t::last_seq_hi

Definition at line 125 of file ipsec_sa.h.

◆ linked_key_index

vnet_crypto_key_index_t ipsec_sa_t::linked_key_index

Definition at line 147 of file ipsec_sa.h.

◆ node

fib_node_t ipsec_sa_t::node

Definition at line 200 of file ipsec_sa.h.

◆ protocol

ipsec_protocol_t ipsec_sa_t::protocol

Definition at line 166 of file ipsec_sa.h.

◆ replay_window

u64 ipsec_sa_t::replay_window

Definition at line 126 of file ipsec_sa.h.

◆ salt

u32 ipsec_sa_t::salt

Definition at line 164 of file ipsec_sa.h.

◆ seq

u32 ipsec_sa_t::seq

Definition at line 122 of file ipsec_sa.h.

◆ seq_hi

u32 ipsec_sa_t::seq_hi

Definition at line 123 of file ipsec_sa.h.

◆ sibling

u32 ipsec_sa_t::sibling

Definition at line 209 of file ipsec_sa.h.

◆ spi

u32 ipsec_sa_t::spi

Definition at line 121 of file ipsec_sa.h.

◆ stat_index

u32 ipsec_sa_t::stat_index

Definition at line 204 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 198 of file ipsec_sa.h.

◆ tunnel_flags

tunnel_encap_decap_flags_t ipsec_sa_t::tunnel_flags

Definition at line 167 of file ipsec_sa.h.

◆ tunnel_src_addr

ip46_address_t ipsec_sa_t::tunnel_src_addr

Definition at line 197 of file ipsec_sa.h.

◆ tx_fib_index

u32 ipsec_sa_t::tx_fib_index

Definition at line 210 of file ipsec_sa.h.

◆ udp_hdr

udp_header_t ipsec_sa_t::udp_hdr

Definition at line 161 of file ipsec_sa.h.


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