FD.io VPP  v19.04.2-12-g66b1689
Vector Packet Processing
vl_api_ipsec_tunnel_if_add_del_t Struct Reference

Add or delete IPsec tunnel interface. More...

Data Fields

u32 client_index
 
u32 context
 
u8 is_add
 
u8 esn
 
u8 anti_replay
 
vl_api_address_t local_ip
 
vl_api_address_t remote_ip
 
u32 local_spi
 
u32 remote_spi
 
u8 crypto_alg
 
u8 local_crypto_key_len
 
u8 local_crypto_key [128]
 
u8 remote_crypto_key_len
 
u8 remote_crypto_key [128]
 
u8 integ_alg
 
u8 local_integ_key_len
 
u8 local_integ_key [128]
 
u8 remote_integ_key_len
 
u8 remote_integ_key [128]
 
u8 renumber
 
u32 show_instance
 
u8 udp_encap
 
u32 tx_table_id
 

Detailed Description

Add or delete IPsec tunnel interface.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- add IPsec tunnel interface if nonzero, else delete
is_ip6- tunnel v6 or v4
esn- enable extended sequence numbers if nonzero, else disable
anti_replay- enable anti replay check if nonzero, else disable
local_ip- local IP address
remote_ip- IP address of remote IPsec peer
local_spi- SPI of outbound IPsec SA
remote_spi- SPI of inbound IPsec SA
crypto_alg- encryption algorithm ID
local_crypto_key_len- length of local crypto key in bytes
local_crypto_key- crypto key for outbound IPsec SA
remote_crypto_key_len- length of remote crypto key in bytes
remote_crypto_key- crypto key for inbound IPsec SA
integ_alg- integrity algorithm ID
local_integ_key_len- length of local integrity key in bytes
local_integ_key- integrity key for outbound IPsec SA
remote_integ_key_len- length of remote integrity key in bytes
remote_integ_key- integrity key for inbound IPsec SA
renumber- intf display name uses a specified instance if != 0
show_instance- instance to display for intf if renumber is set
udp_encap- enable UDP encapsulation for NAT traversal
tx_table_id- the FIB id used after packet encap

Definition at line 378 of file ipsec.api.

Field Documentation

u8 vl_api_ipsec_tunnel_if_add_del_t::anti_replay

Definition at line 383 of file ipsec.api.

u32 vl_api_ipsec_tunnel_if_add_del_t::client_index

Definition at line 379 of file ipsec.api.

u32 vl_api_ipsec_tunnel_if_add_del_t::context

Definition at line 380 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::crypto_alg

Definition at line 388 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::esn

Definition at line 382 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::integ_alg

Definition at line 393 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::is_add

Definition at line 381 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::local_crypto_key[128]

Definition at line 390 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::local_crypto_key_len

Definition at line 389 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::local_integ_key[128]

Definition at line 395 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::local_integ_key_len

Definition at line 394 of file ipsec.api.

vl_api_address_t vl_api_ipsec_tunnel_if_add_del_t::local_ip

Definition at line 384 of file ipsec.api.

u32 vl_api_ipsec_tunnel_if_add_del_t::local_spi

Definition at line 386 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_crypto_key[128]

Definition at line 392 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_crypto_key_len

Definition at line 391 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_integ_key[128]

Definition at line 397 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_integ_key_len

Definition at line 396 of file ipsec.api.

vl_api_address_t vl_api_ipsec_tunnel_if_add_del_t::remote_ip

Definition at line 385 of file ipsec.api.

u32 vl_api_ipsec_tunnel_if_add_del_t::remote_spi

Definition at line 387 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::renumber

Definition at line 398 of file ipsec.api.

u32 vl_api_ipsec_tunnel_if_add_del_t::show_instance

Definition at line 399 of file ipsec.api.

u32 vl_api_ipsec_tunnel_if_add_del_t::tx_table_id

Definition at line 401 of file ipsec.api.

u8 vl_api_ipsec_tunnel_if_add_del_t::udp_encap

Definition at line 400 of file ipsec.api.


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