FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
virtio_if_t Struct Reference
+ Collaboration diagram for virtio_if_t:

Data Fields

u32 flags
 
clib_spinlock_t lockp
 
u32 id
 
u32 dev_instance
 
u32 hw_if_index
 
u32 sw_if_index
 
u32 per_interface_next_index
 
int fd
 
int tap_fd
 
virtio_vring_tvrings
 
u64 features
 
u64 remote_features
 
virtio_if_type_t type
 
u16 tx_ring_sz
 
u16 rx_ring_sz
 
u8host_if_name
 
u8net_ns
 
u8host_bridge
 
u8 host_mac_addr [6]
 
ip4_address_t host_ip4_addr
 
u8 host_ip4_prefix_len
 
ip6_address_t host_ip6_addr
 
u8 host_ip6_prefix_len
 
int ifindex
 

Detailed Description

Definition at line 93 of file virtio.h.

Field Documentation

◆ dev_instance

u32 virtio_if_t::dev_instance

Definition at line 99 of file virtio.h.

◆ fd

int virtio_if_t::fd

Definition at line 103 of file virtio.h.

◆ features

u64 virtio_if_t::features

Definition at line 107 of file virtio.h.

◆ flags

u32 virtio_if_t::flags

Definition at line 95 of file virtio.h.

◆ host_bridge

u8* virtio_if_t::host_bridge

Definition at line 114 of file virtio.h.

◆ host_if_name

u8* virtio_if_t::host_if_name

Definition at line 112 of file virtio.h.

◆ host_ip4_addr

ip4_address_t virtio_if_t::host_ip4_addr

Definition at line 116 of file virtio.h.

◆ host_ip4_prefix_len

u8 virtio_if_t::host_ip4_prefix_len

Definition at line 117 of file virtio.h.

◆ host_ip6_addr

ip6_address_t virtio_if_t::host_ip6_addr

Definition at line 118 of file virtio.h.

◆ host_ip6_prefix_len

u8 virtio_if_t::host_ip6_prefix_len

Definition at line 119 of file virtio.h.

◆ host_mac_addr

u8 virtio_if_t::host_mac_addr[6]

Definition at line 115 of file virtio.h.

◆ hw_if_index

u32 virtio_if_t::hw_if_index

Definition at line 100 of file virtio.h.

◆ id

u32 virtio_if_t::id

Definition at line 98 of file virtio.h.

◆ ifindex

int virtio_if_t::ifindex

Definition at line 121 of file virtio.h.

◆ lockp

clib_spinlock_t virtio_if_t::lockp

Definition at line 96 of file virtio.h.

◆ net_ns

u8* virtio_if_t::net_ns

Definition at line 113 of file virtio.h.

◆ per_interface_next_index

u32 virtio_if_t::per_interface_next_index

Definition at line 102 of file virtio.h.

◆ remote_features

u64 virtio_if_t::remote_features

Definition at line 107 of file virtio.h.

◆ rx_ring_sz

u16 virtio_if_t::rx_ring_sz

Definition at line 111 of file virtio.h.

◆ sw_if_index

u32 virtio_if_t::sw_if_index

Definition at line 101 of file virtio.h.

◆ tap_fd

int virtio_if_t::tap_fd

Definition at line 104 of file virtio.h.

◆ tx_ring_sz

u16 virtio_if_t::tx_ring_sz

Definition at line 110 of file virtio.h.

◆ type

virtio_if_type_t virtio_if_t::type

Definition at line 109 of file virtio.h.

◆ vrings

virtio_vring_t* virtio_if_t::vrings

Definition at line 105 of file virtio.h.


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