FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
vnet_tap_connect_args_t Struct Reference

arguments structure for vnet_tap_connect, vnet_tap_connect_renumber, etc. More...

+ Collaboration diagram for vnet_tap_connect_args_t:

Data Fields

u8intfc_name
 Interface name. More...
 
u8hwaddr_arg
 Mac address. More...
 
u8 ip4_address_set
 Please set the indicated ip4 address/mask on the interface. More...
 
u8 ip6_address_set
 Please set the indicated ip4 address/mask on the interface. More...
 
u8 renumber
 Renumber the (existing) interface. More...
 
ip4_address_tip4_address
 (optional) ip4 address to set More...
 
u32 ip4_mask_width
 (optional) ip4 mask width to set More...
 
ip6_address_tip6_address
 (optional) ip6 address to set More...
 
u32 ip6_mask_width
 (optional) ip6 mask width to set More...
 
u32sw_if_indexp
 Output parameter: result sw_if_index. More...
 
u32 custom_dev_instance
 Custom device instance. More...
 
u32 orig_sw_if_index
 original sw_if_index (renumber) More...
 

Detailed Description

arguments structure for vnet_tap_connect, vnet_tap_connect_renumber, etc.

Definition at line 28 of file tuntap.h.

Field Documentation

◆ custom_dev_instance

u32 vnet_tap_connect_args_t::custom_dev_instance

Custom device instance.

Definition at line 51 of file tuntap.h.

◆ hwaddr_arg

u8* vnet_tap_connect_args_t::hwaddr_arg

Mac address.

Definition at line 33 of file tuntap.h.

◆ intfc_name

u8* vnet_tap_connect_args_t::intfc_name

Interface name.

Definition at line 31 of file tuntap.h.

◆ ip4_address

ip4_address_t* vnet_tap_connect_args_t::ip4_address

(optional) ip4 address to set

Definition at line 41 of file tuntap.h.

◆ ip4_address_set

u8 vnet_tap_connect_args_t::ip4_address_set

Please set the indicated ip4 address/mask on the interface.

Definition at line 35 of file tuntap.h.

◆ ip4_mask_width

u32 vnet_tap_connect_args_t::ip4_mask_width

(optional) ip4 mask width to set

Definition at line 43 of file tuntap.h.

◆ ip6_address

ip6_address_t* vnet_tap_connect_args_t::ip6_address

(optional) ip6 address to set

Definition at line 45 of file tuntap.h.

◆ ip6_address_set

u8 vnet_tap_connect_args_t::ip6_address_set

Please set the indicated ip4 address/mask on the interface.

Definition at line 37 of file tuntap.h.

◆ ip6_mask_width

u32 vnet_tap_connect_args_t::ip6_mask_width

(optional) ip6 mask width to set

Definition at line 47 of file tuntap.h.

◆ orig_sw_if_index

u32 vnet_tap_connect_args_t::orig_sw_if_index

original sw_if_index (renumber)

Definition at line 53 of file tuntap.h.

◆ renumber

u8 vnet_tap_connect_args_t::renumber

Renumber the (existing) interface.

Definition at line 39 of file tuntap.h.

◆ sw_if_indexp

u32* vnet_tap_connect_args_t::sw_if_indexp

Output parameter: result sw_if_index.

Definition at line 49 of file tuntap.h.


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