u8 * intfc_name
Interface name.
u32 * sw_if_indexp
Output parameter: result sw_if_index.
u32 custom_dev_instance
Custom device instance.
arguments structure for vnet_tap_connect, vnet_tap_connect_renumber, etc.
void register_tuntap_inject_node_name(char *name)
u8 ip6_address_set
Please set the indicated ip4 address/mask on the interface.
u32 ip4_mask_width
(optional) ip4 mask width to set
int vnet_tap_modify(vlib_main_t *vm, vnet_tap_connect_args_t *args)
Modify a tap interface.
int vnet_tap_delete(vlib_main_t *vm, u32 sw_if_index)
delete a tap interface
u8 renumber
Renumber the (existing) interface.
int vnet_tap_connect(vlib_main_t *vm, vnet_tap_connect_args_t *args)
Connect a tap interface.
u8 ip4_address_set
Please set the indicated ip4 address/mask on the interface.
ip4_address_t * ip4_address
(optional) ip4 address to set
int vnet_tap_connect_renumber(vlib_main_t *vm, vnet_tap_connect_args_t *args)
Connect / renumber a tap interface.
u8 * hwaddr_arg
Mac address.
u32 ip6_mask_width
(optional) ip6 mask width to set
u32 orig_sw_if_index
original sw_if_index (renumber)
ip6_address_t * ip6_address
(optional) ip6 address to set
vl_api_interface_index_t sw_if_index