FD.io VPP  v18.07-34-g55fbdb9
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 594 of file ipsec.api.

Field Documentation

u32 vl_api_ipsec_sa_details_t::context

Definition at line 595 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::crypto_alg

Definition at line 602 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::crypto_key[128]

Definition at line 604 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::crypto_key_len

Definition at line 603 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::integ_alg

Definition at line 606 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::integ_key[128]

Definition at line 608 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::integ_key_len

Definition at line 607 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::is_tunnel

Definition at line 613 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::is_tunnel_ip6

Definition at line 614 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::last_seq_inbound

Definition at line 620 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::protocol

Definition at line 600 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::replay_window

Definition at line 621 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::sa_id

Definition at line 596 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::salt

Definition at line 618 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::seq_outbound

Definition at line 619 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::spi

Definition at line 599 of file ipsec.api.

u32 vl_api_ipsec_sa_details_t::sw_if_index

Definition at line 597 of file ipsec.api.

u64 vl_api_ipsec_sa_details_t::total_data_size

Definition at line 623 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::tunnel_dst_addr[16]

Definition at line 616 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::tunnel_src_addr[16]

Definition at line 615 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::udp_encap

Definition at line 624 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::use_anti_replay

Definition at line 611 of file ipsec.api.

u8 vl_api_ipsec_sa_details_t::use_esn

Definition at line 610 of file ipsec.api.


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