FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
vl_api_ipsec_sa_details_t Struct Reference

IPsec security association database response. More...

Data Fields

u32 context
 
u32 sa_id
 
u32 sw_if_index
 
u32 spi
 
u8 protocol
 
u8 crypto_alg
 
u8 crypto_key_len
 
u8 crypto_key [128]
 
u8 integ_alg
 
u8 integ_key_len
 
u8 integ_key [128]
 
u8 use_esn
 
u8 use_anti_replay
 
u8 is_tunnel
 
u8 is_tunnel_ip6
 
u8 tunnel_src_addr [16]
 
u8 tunnel_dst_addr [16]
 
u32 salt
 
u64 seq_outbound
 
u64 last_seq_inbound
 
u64 replay_window
 
u64 total_data_size
 
u8 udp_encap
 

Detailed Description

IPsec security association database response.

Template Parameters
context- sender context which was passed in the request
sa_id- SA ID, policy-based SAs >=0, tunnel interface SAs = 0
sw_if_index- sw_if_index of tunnel interface, policy-based SAs = ~0
spi- security parameter index
protocol- IPsec protocol (value from ipsec_protocol_t)
crypto_alg- crypto algorithm (value from ipsec_crypto_alg_t)
crypto_key_len- length of crypto_key in bytes
crypto_key- crypto keying material
integ_alg- integrity algorithm (value from ipsec_integ_alg_t)
integ_key_len- length of integ_key in bytes
integ_key- integrity keying material
use_esn- using extended sequence numbers when non-zero
use_anti_replay- using anti-replay window when non-zero
is_tunnel- IPsec tunnel mode when non-zero, else transport mode
is_tunnel_ipv6- If using tunnel mode, endpoints are IPv6
tunnel_src_addr- Tunnel source address if using tunnel mode
tunnel_dst_addr- Tunnel destination address is using tunnel mode
salt- 4 byte salt
seq- current sequence number for outbound
seq_hi- high 32 bits of ESN for outbound
last_seq- highest sequence number received inbound
last_seq_hi- high 32 bits of highest ESN received inbound
replay_window- bit map of seq nums received relative to last_seq if using anti-replay
total_data_size- total bytes sent or received
udp_encap- 1 if UDP encap enabled, 0 otherwise

Definition at line 641 of file ipsec.api.

Field Documentation

u32 vl_api_ipsec_sa_details_t::context

Definition at line 642 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::crypto_alg

Definition at line 649 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::crypto_key[128]

Definition at line 651 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::crypto_key_len

Definition at line 650 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::integ_alg

Definition at line 653 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::integ_key[128]

Definition at line 655 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::integ_key_len

Definition at line 654 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::is_tunnel

Definition at line 660 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::is_tunnel_ip6

Definition at line 661 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::last_seq_inbound

Definition at line 667 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::protocol

Definition at line 647 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::replay_window

Definition at line 668 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::sa_id

Definition at line 643 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::salt

Definition at line 665 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::seq_outbound

Definition at line 666 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::spi

Definition at line 646 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::sw_if_index

Definition at line 644 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::total_data_size

Definition at line 670 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::tunnel_dst_addr[16]

Definition at line 663 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::tunnel_src_addr[16]

Definition at line 662 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::udp_encap

Definition at line 671 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::use_anti_replay

Definition at line 658 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::use_esn

Definition at line 657 of file ipsec.api.


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