FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_tap_create_v2_t Struct Reference

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

Data Fields

u32 client_index
 
u32 context
 
u32 id
 
u8 use_random_mac
 
u8 mac_address [6]
 
u16 tx_ring_sz
 
u16 rx_ring_sz
 
u8 host_namespace_set
 
u8 host_namespace [64]
 
u8 host_mac_addr_set
 
u8 host_mac_addr [6]
 
u8 host_if_name_set
 
u8 host_if_name [64]
 
u8 host_bridge_set
 
u8 host_bridge [64]
 
u8 host_ip4_addr_set
 
u8 host_ip4_addr [4]
 
u8 host_ip4_prefix_len
 
u8 host_ip6_addr_set
 
u8 host_ip6_addr [16]
 
u8 host_ip6_prefix_len
 
u8 host_ip4_gw_set
 
u8 host_ip4_gw [4]
 
u8 host_ip6_gw_set
 
u8 host_ip6_gw [16]
 
u8 tag [64]
 
u32 tap_flags
 

Detailed Description

Initialize a new tap interface with the given paramters.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
id- interface id, 0xffffffff means auto
use_random_mac- let the system generate a unique mac address
mac_address- mac addr to assign to the interface if use_radom not set
tx_ring_sz- the number of entries of TX ring
rx_ring_sz- the number of entries of RX ring
host_mac_addr_set- host side interface mac address should be set
host_mac_addr- host side interface mac address
host_if_name_set- host side interface name should be set
host_if_name- host side interface name
host_namespace_set- host namespece should be set
host_namespace- host namespace to attach interface to
host_bridge_set- host bridge should be set
host_bridge- host bridge to attach interface to
host_ip4_addr_set- host IPv4 ip address should be set
host_ip4_addr- host IPv4 ip address
host_ip4_prefix_len- host IPv4 ip address prefix length
host_ip6_addr_set- host IPv6 ip address should be set
host_ip6_addr- host IPv6 ip address
host_ip6_prefix_len- host IPv6 ip address prefix length
host_ip4_gw_set- host IPv4 default gateway should be set
host_ip4_gw- host IPv4 default gateway
host_ip6_gw_set- host IPv6 default gateway should be set
host_ip6_gw- host IPv6 default gateway
tap_flags- flags for the TAP interface creation

Definition at line 52 of file tapv2.api.

Field Documentation

◆ client_index

u32 vl_api_tap_create_v2_t::client_index

Definition at line 54 of file tapv2.api.

◆ context

u32 vl_api_tap_create_v2_t::context

Definition at line 55 of file tapv2.api.

◆ host_bridge

u8 vl_api_tap_create_v2_t::host_bridge[64]

Definition at line 68 of file tapv2.api.

◆ host_bridge_set

u8 vl_api_tap_create_v2_t::host_bridge_set

Definition at line 67 of file tapv2.api.

◆ host_if_name

u8 vl_api_tap_create_v2_t::host_if_name[64]

Definition at line 66 of file tapv2.api.

◆ host_if_name_set

u8 vl_api_tap_create_v2_t::host_if_name_set

Definition at line 65 of file tapv2.api.

◆ host_ip4_addr

u8 vl_api_tap_create_v2_t::host_ip4_addr[4]

Definition at line 70 of file tapv2.api.

◆ host_ip4_addr_set

u8 vl_api_tap_create_v2_t::host_ip4_addr_set

Definition at line 69 of file tapv2.api.

◆ host_ip4_gw

u8 vl_api_tap_create_v2_t::host_ip4_gw[4]

Definition at line 76 of file tapv2.api.

◆ host_ip4_gw_set

u8 vl_api_tap_create_v2_t::host_ip4_gw_set

Definition at line 75 of file tapv2.api.

◆ host_ip4_prefix_len

u8 vl_api_tap_create_v2_t::host_ip4_prefix_len

Definition at line 71 of file tapv2.api.

◆ host_ip6_addr

u8 vl_api_tap_create_v2_t::host_ip6_addr[16]

Definition at line 73 of file tapv2.api.

◆ host_ip6_addr_set

u8 vl_api_tap_create_v2_t::host_ip6_addr_set

Definition at line 72 of file tapv2.api.

◆ host_ip6_gw

u8 vl_api_tap_create_v2_t::host_ip6_gw[16]

Definition at line 78 of file tapv2.api.

◆ host_ip6_gw_set

u8 vl_api_tap_create_v2_t::host_ip6_gw_set

Definition at line 77 of file tapv2.api.

◆ host_ip6_prefix_len

u8 vl_api_tap_create_v2_t::host_ip6_prefix_len

Definition at line 74 of file tapv2.api.

◆ host_mac_addr

u8 vl_api_tap_create_v2_t::host_mac_addr[6]

Definition at line 64 of file tapv2.api.

◆ host_mac_addr_set

u8 vl_api_tap_create_v2_t::host_mac_addr_set

Definition at line 63 of file tapv2.api.

◆ host_namespace

u8 vl_api_tap_create_v2_t::host_namespace[64]

Definition at line 62 of file tapv2.api.

◆ host_namespace_set

u8 vl_api_tap_create_v2_t::host_namespace_set

Definition at line 61 of file tapv2.api.

◆ id

u32 vl_api_tap_create_v2_t::id

Definition at line 56 of file tapv2.api.

◆ mac_address

u8 vl_api_tap_create_v2_t::mac_address[6]

Definition at line 58 of file tapv2.api.

◆ rx_ring_sz

u16 vl_api_tap_create_v2_t::rx_ring_sz

Definition at line 60 of file tapv2.api.

◆ tag

u8 vl_api_tap_create_v2_t::tag[64]

Definition at line 79 of file tapv2.api.

◆ tap_flags

u32 vl_api_tap_create_v2_t::tap_flags

Definition at line 80 of file tapv2.api.

◆ tx_ring_sz

u16 vl_api_tap_create_v2_t::tx_ring_sz

Definition at line 59 of file tapv2.api.

◆ use_random_mac

u8 vl_api_tap_create_v2_t::use_random_mac

Definition at line 57 of file tapv2.api.


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