FD.io VPP  v18.01.2-1-g9b554f3
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
 

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, 0xffff 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

Definition at line 47 of file tapv2.api.

Field Documentation

u32 vl_api_tap_create_v2_t::client_index

Definition at line 49 of file tapv2.api.

u32 vl_api_tap_create_v2_t::context

Definition at line 50 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_bridge[64]

Definition at line 63 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_bridge_set

Definition at line 62 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_if_name[64]

Definition at line 61 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_if_name_set

Definition at line 60 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_ip4_addr[4]

Definition at line 65 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_ip4_addr_set

Definition at line 64 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_ip4_prefix_len

Definition at line 66 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_ip6_addr[16]

Definition at line 68 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_ip6_addr_set

Definition at line 67 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_ip6_prefix_len

Definition at line 69 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_mac_addr[6]

Definition at line 59 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_mac_addr_set

Definition at line 58 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_namespace[64]

Definition at line 57 of file tapv2.api.

u8 vl_api_tap_create_v2_t::host_namespace_set

Definition at line 56 of file tapv2.api.

u32 vl_api_tap_create_v2_t::id

Definition at line 51 of file tapv2.api.

u8 vl_api_tap_create_v2_t::mac_address[6]

Definition at line 53 of file tapv2.api.

u16 vl_api_tap_create_v2_t::rx_ring_sz

Definition at line 55 of file tapv2.api.

u16 vl_api_tap_create_v2_t::tx_ring_sz

Definition at line 54 of file tapv2.api.

u8 vl_api_tap_create_v2_t::use_random_mac

Definition at line 52 of file tapv2.api.


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