FD.io VPP  v19.01.3-6-g70449b9b9
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
 
u8 local_ip [4]
 
u8 remote_ip [4]
 
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
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 568 of file ipsec.api.

Field Documentation

◆ anti_replay

u8 vl_api_ipsec_tunnel_if_add_del_t::anti_replay

Definition at line 573 of file ipsec.api.

◆ client_index

u32 vl_api_ipsec_tunnel_if_add_del_t::client_index

Definition at line 569 of file ipsec.api.

◆ context

u32 vl_api_ipsec_tunnel_if_add_del_t::context

Definition at line 570 of file ipsec.api.

◆ crypto_alg

u8 vl_api_ipsec_tunnel_if_add_del_t::crypto_alg

Definition at line 578 of file ipsec.api.

◆ esn

u8 vl_api_ipsec_tunnel_if_add_del_t::esn

Definition at line 572 of file ipsec.api.

◆ integ_alg

u8 vl_api_ipsec_tunnel_if_add_del_t::integ_alg

Definition at line 583 of file ipsec.api.

◆ is_add

u8 vl_api_ipsec_tunnel_if_add_del_t::is_add

Definition at line 571 of file ipsec.api.

◆ local_crypto_key

u8 vl_api_ipsec_tunnel_if_add_del_t::local_crypto_key[128]

Definition at line 580 of file ipsec.api.

◆ local_crypto_key_len

u8 vl_api_ipsec_tunnel_if_add_del_t::local_crypto_key_len

Definition at line 579 of file ipsec.api.

◆ local_integ_key

u8 vl_api_ipsec_tunnel_if_add_del_t::local_integ_key[128]

Definition at line 585 of file ipsec.api.

◆ local_integ_key_len

u8 vl_api_ipsec_tunnel_if_add_del_t::local_integ_key_len

Definition at line 584 of file ipsec.api.

◆ local_ip

u8 vl_api_ipsec_tunnel_if_add_del_t::local_ip[4]

Definition at line 574 of file ipsec.api.

◆ local_spi

u32 vl_api_ipsec_tunnel_if_add_del_t::local_spi

Definition at line 576 of file ipsec.api.

◆ remote_crypto_key

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_crypto_key[128]

Definition at line 582 of file ipsec.api.

◆ remote_crypto_key_len

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_crypto_key_len

Definition at line 581 of file ipsec.api.

◆ remote_integ_key

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_integ_key[128]

Definition at line 587 of file ipsec.api.

◆ remote_integ_key_len

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_integ_key_len

Definition at line 586 of file ipsec.api.

◆ remote_ip

u8 vl_api_ipsec_tunnel_if_add_del_t::remote_ip[4]

Definition at line 575 of file ipsec.api.

◆ remote_spi

u32 vl_api_ipsec_tunnel_if_add_del_t::remote_spi

Definition at line 577 of file ipsec.api.

◆ renumber

u8 vl_api_ipsec_tunnel_if_add_del_t::renumber

Definition at line 588 of file ipsec.api.

◆ show_instance

u32 vl_api_ipsec_tunnel_if_add_del_t::show_instance

Definition at line 589 of file ipsec.api.

◆ tx_table_id

u32 vl_api_ipsec_tunnel_if_add_del_t::tx_table_id

Definition at line 591 of file ipsec.api.

◆ udp_encap

u8 vl_api_ipsec_tunnel_if_add_del_t::udp_encap

Definition at line 590 of file ipsec.api.


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