|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
int vnet_tap_delete(vlib_main_t *vm, u32 sw_if_index)
delete a tap interface
u32 ip6_mask_width
(optional) ip6 mask width to set
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
u8 ip6_address_set
Please set the indicated ip4 address/mask on the interface.
u32 custom_dev_instance
Custom device instance.
u8 * intfc_name
Interface name.
u32 ip4_mask_width
(optional) ip4 mask width to set
void register_tuntap_inject_node_name(char *name)
u32 * sw_if_indexp
Output parameter: result sw_if_index.
arguments structure for vnet_tap_connect, vnet_tap_connect_renumber, etc.
u8 renumber
Renumber the (existing) interface.
int vnet_tap_connect_renumber(vlib_main_t *vm, vnet_tap_connect_args_t *args)
Connect / renumber a tap interface.
u8 ip4_address_set
Please set the indicated ip4 address/mask on the interface.
int vnet_tap_modify(vlib_main_t *vm, vnet_tap_connect_args_t *args)
Modify a tap interface.
u8 * hwaddr_arg
Mac address.
int vnet_tap_connect(vlib_main_t *vm, vnet_tap_connect_args_t *args)
Connect a tap interface.
ip6_address_t * ip6_address
(optional) ip6 address to set
ip4_address_t * ip4_address
(optional) ip4 address to set
vl_api_interface_index_t sw_if_index
u32 orig_sw_if_index
original sw_if_index (renumber)