FD.io VPP  v21.06
Vector Packet Processing
vl_api_lcp_itf_pair_add_del_t Struct Reference

Add or delete a Linux Conrol Plane interface pair. More...

Data Fields

u32 client_index
u32 context
bool is_add
vl_api_interface_index_t sw_if_index
string host_if_name [16]
vl_api_lcp_itf_host_type_t host_if_type

Detailed Description

Add or delete a Linux Conrol Plane interface pair.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- 0 if deleting, != 0 if adding
sw_if_index- index of VPP PHY SW interface
host_if_name- host tap interface name
host_if_type- the type of host interface to create (tun, tap)
namespace- optional tap namespace; namespace[0] == 0 iff none

Definition at line 72 of file lcp.api.

Field Documentation

◆ client_index

u32 vl_api_lcp_itf_pair_add_del_t::client_index

Definition at line 74 of file lcp.api.

◆ context

u32 vl_api_lcp_itf_pair_add_del_t::context

Definition at line 75 of file lcp.api.

◆ host_if_name

string vl_api_lcp_itf_pair_add_del_t::host_if_name[16]

Definition at line 78 of file lcp.api.

◆ host_if_type

vl_api_lcp_itf_host_type_t vl_api_lcp_itf_pair_add_del_t::host_if_type

Definition at line 79 of file lcp.api.

◆ is_add

bool vl_api_lcp_itf_pair_add_del_t::is_add

Definition at line 76 of file lcp.api.

◆ sw_if_index

vl_api_interface_index_t vl_api_lcp_itf_pair_add_del_t::sw_if_index

Definition at line 77 of file lcp.api.

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