FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_p2p_ethernet_add_t Struct Reference

Create a point-to-point (p2p) Ethernet sub-interface. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_interface_index_t parent_if_index
 
u32 subif_id
 
vl_api_mac_address_t remote_mac
 

Detailed Description

Create a point-to-point (p2p) Ethernet sub-interface.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
parent_if_index- index of the parent interface
subif_id- subinterface index identifier
remote_mac- client MAC address
Return values
VNET_API_ERROR_INVALID_SW_IF_INDEXon invalid parent_if_index
VNET_API_ERROR_INVALID_SW_IF_INDEX_2on invalid subif_id
VNET_API_ERROR_BOND_SLAVE_NOT_ALLOWED
VNET_API_ERROR_SUBIF_ALREADY_EXISTS
VNET_API_ERROR_SUBIF_CREATE_FAILED

Definition at line 33 of file p2p_ethernet.api.

Field Documentation

◆ client_index

u32 vl_api_p2p_ethernet_add_t::client_index

Definition at line 35 of file p2p_ethernet.api.

◆ context

u32 vl_api_p2p_ethernet_add_t::context

Definition at line 36 of file p2p_ethernet.api.

◆ parent_if_index

vl_api_interface_index_t vl_api_p2p_ethernet_add_t::parent_if_index

Definition at line 37 of file p2p_ethernet.api.

◆ remote_mac

vl_api_mac_address_t vl_api_p2p_ethernet_add_t::remote_mac

Definition at line 39 of file p2p_ethernet.api.

◆ subif_id

u32 vl_api_p2p_ethernet_add_t::subif_id

Definition at line 38 of file p2p_ethernet.api.


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