FD.io VPP  v20.01-48-g3e0dafb74
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 crypto_block_size
 
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
 
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
 
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
 

Detailed Description

Definition at line 107 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

◆ @360

union { ... }

◆ crypto_alg

ipsec_crypto_alg_t ipsec_sa_t::crypto_alg

Definition at line 148 of file ipsec_sa.h.

◆ crypto_block_size

u8 ipsec_sa_t::crypto_block_size

Definition at line 115 of file ipsec_sa.h.

◆ crypto_calg

vnet_crypto_alg_t ipsec_sa_t::crypto_calg

Definition at line 150 of file ipsec_sa.h.

◆ crypto_dec_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_dec_op_id

Definition at line 130 of file ipsec_sa.h.

◆ crypto_enc_op_id

vnet_crypto_op_id_t ipsec_sa_t::crypto_enc_op_id

Definition at line 129 of file ipsec_sa.h.

◆ crypto_iv_size

u8 ipsec_sa_t::crypto_iv_size

Definition at line 114 of file ipsec_sa.h.

◆ crypto_key

ipsec_key_t ipsec_sa_t::crypto_key

Definition at line 149 of file ipsec_sa.h.

◆ crypto_key_index

vnet_crypto_key_index_t ipsec_sa_t::crypto_key_index

Definition at line 127 of file ipsec_sa.h.

◆ decrypt_thread_index

u32 ipsec_sa_t::decrypt_thread_index

Definition at line 118 of file ipsec_sa.h.

◆ dpo

dpo_id_t ipsec_sa_t::dpo

Definition at line 125 of file ipsec_sa.h.

◆ encrypt_thread_index

u32 ipsec_sa_t::encrypt_thread_index

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 159 of file ipsec_sa.h.

◆ flags

ipsec_sa_flags_t ipsec_sa_t::flags

Definition at line 112 of file ipsec_sa.h.

◆ gcm_iv_counter

u64 ipsec_sa_t::gcm_iv_counter

Definition at line 166 of file ipsec_sa.h.

◆ id

u32 ipsec_sa_t::id

Definition at line 144 of file ipsec_sa.h.

◆ integ_alg

ipsec_integ_alg_t ipsec_sa_t::integ_alg

Definition at line 152 of file ipsec_sa.h.

◆ integ_calg

vnet_crypto_alg_t ipsec_sa_t::integ_calg

Definition at line 154 of file ipsec_sa.h.

◆ integ_icv_size

u8 ipsec_sa_t::integ_icv_size

Definition at line 116 of file ipsec_sa.h.

◆ integ_key

ipsec_key_t ipsec_sa_t::integ_key

Definition at line 153 of file ipsec_sa.h.

◆ integ_key_index

vnet_crypto_key_index_t ipsec_sa_t::integ_key_index

Definition at line 128 of file ipsec_sa.h.

◆ integ_op_id

vnet_crypto_op_id_t ipsec_sa_t::integ_op_id

Definition at line 131 of file ipsec_sa.h.

◆ ip4_hdr

ip4_header_t ipsec_sa_t::ip4_hdr

Definition at line 138 of file ipsec_sa.h.

◆ ip6_hdr

ip6_header_t ipsec_sa_t::ip6_hdr

Definition at line 139 of file ipsec_sa.h.

◆ last_seq

u32 ipsec_sa_t::last_seq

Definition at line 122 of file ipsec_sa.h.

◆ last_seq_hi

u32 ipsec_sa_t::last_seq_hi

Definition at line 123 of file ipsec_sa.h.

◆ node

fib_node_t ipsec_sa_t::node

Definition at line 143 of file ipsec_sa.h.

◆ protocol

ipsec_protocol_t ipsec_sa_t::protocol

Definition at line 146 of file ipsec_sa.h.

◆ replay_window

u64 ipsec_sa_t::replay_window

Definition at line 124 of file ipsec_sa.h.

◆ salt

u32 ipsec_sa_t::salt

Definition at line 165 of file ipsec_sa.h.

◆ seq

u32 ipsec_sa_t::seq

Definition at line 120 of file ipsec_sa.h.

◆ seq_hi

u32 ipsec_sa_t::seq_hi

Definition at line 121 of file ipsec_sa.h.

◆ sibling

u32 ipsec_sa_t::sibling

Definition at line 160 of file ipsec_sa.h.

◆ spi

u32 ipsec_sa_t::spi

Definition at line 119 of file ipsec_sa.h.

◆ stat_index

u32 ipsec_sa_t::stat_index

Definition at line 145 of file ipsec_sa.h.

◆ tunnel_dst_addr

ip46_address_t ipsec_sa_t::tunnel_dst_addr

Definition at line 157 of file ipsec_sa.h.

◆ tunnel_src_addr

ip46_address_t ipsec_sa_t::tunnel_src_addr

Definition at line 156 of file ipsec_sa.h.

◆ tx_fib_index

u32 ipsec_sa_t::tx_fib_index

Definition at line 162 of file ipsec_sa.h.

◆ udp_hdr

udp_header_t ipsec_sa_t::udp_hdr

Definition at line 141 of file ipsec_sa.h.


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