FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
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 |
Initialize a new tap interface with the given paramters.
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 |