FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
vl_api_tap_connect_t Struct Reference

Initialize a new tap interface with the given parameters. More...

Data Fields

u32 client_index
 
u32 context
 
u8 use_random_mac
 
u8 tap_name [64]
 
u8 mac_address [6]
 
u8 renumber
 
u32 custom_dev_instance
 
u8 ip4_address_set
 
u8 ip4_address [4]
 
u8 ip4_mask_width
 
u8 ip6_address_set
 
u8 ip6_address [16]
 
u8 ip6_mask_width
 
u8 tag [64]
 

Detailed Description

Initialize a new tap interface with the given parameters.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
use_random_mac- let the system generate a unique mac address
tap_name- name to associate with the new interface
mac_address- mac addr to assign to the interface if use_random not set

Definition at line 31 of file tap.api.

Field Documentation

◆ client_index

u32 vl_api_tap_connect_t::client_index

Definition at line 33 of file tap.api.

◆ context

u32 vl_api_tap_connect_t::context

Definition at line 34 of file tap.api.

◆ custom_dev_instance

u32 vl_api_tap_connect_t::custom_dev_instance

Definition at line 39 of file tap.api.

◆ ip4_address

u8 vl_api_tap_connect_t::ip4_address[4]

Definition at line 41 of file tap.api.

◆ ip4_address_set

u8 vl_api_tap_connect_t::ip4_address_set

Definition at line 40 of file tap.api.

◆ ip4_mask_width

u8 vl_api_tap_connect_t::ip4_mask_width

Definition at line 42 of file tap.api.

◆ ip6_address

u8 vl_api_tap_connect_t::ip6_address[16]

Definition at line 44 of file tap.api.

◆ ip6_address_set

u8 vl_api_tap_connect_t::ip6_address_set

Definition at line 43 of file tap.api.

◆ ip6_mask_width

u8 vl_api_tap_connect_t::ip6_mask_width

Definition at line 45 of file tap.api.

◆ mac_address

u8 vl_api_tap_connect_t::mac_address[6]

Definition at line 37 of file tap.api.

◆ renumber

u8 vl_api_tap_connect_t::renumber

Definition at line 38 of file tap.api.

◆ tag

u8 vl_api_tap_connect_t::tag[64]

Definition at line 46 of file tap.api.

◆ tap_name

u8 vl_api_tap_connect_t::tap_name[64]

Definition at line 36 of file tap.api.

◆ use_random_mac

u8 vl_api_tap_connect_t::use_random_mac

Definition at line 35 of file tap.api.


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