FD.io VPP  v18.04-17-g3a0d853
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 91 of file virtio.h.

Field Documentation

u32 virtio_if_t::dev_instance

Definition at line 97 of file virtio.h.

int virtio_if_t::fd

Definition at line 101 of file virtio.h.

u64 virtio_if_t::features

Definition at line 105 of file virtio.h.

u32 virtio_if_t::flags

Definition at line 93 of file virtio.h.

u8* virtio_if_t::host_bridge

Definition at line 112 of file virtio.h.

u8* virtio_if_t::host_if_name

Definition at line 110 of file virtio.h.

ip4_address_t virtio_if_t::host_ip4_addr

Definition at line 114 of file virtio.h.

u8 virtio_if_t::host_ip4_prefix_len

Definition at line 115 of file virtio.h.

ip6_address_t virtio_if_t::host_ip6_addr

Definition at line 116 of file virtio.h.

u8 virtio_if_t::host_ip6_prefix_len

Definition at line 117 of file virtio.h.

u8 virtio_if_t::host_mac_addr[6]

Definition at line 113 of file virtio.h.

u32 virtio_if_t::hw_if_index

Definition at line 98 of file virtio.h.

u32 virtio_if_t::id

Definition at line 96 of file virtio.h.

int virtio_if_t::ifindex

Definition at line 119 of file virtio.h.

clib_spinlock_t virtio_if_t::lockp

Definition at line 94 of file virtio.h.

u8* virtio_if_t::net_ns

Definition at line 111 of file virtio.h.

u32 virtio_if_t::per_interface_next_index

Definition at line 100 of file virtio.h.

u64 virtio_if_t::remote_features

Definition at line 105 of file virtio.h.

u16 virtio_if_t::rx_ring_sz

Definition at line 109 of file virtio.h.

u32 virtio_if_t::sw_if_index

Definition at line 99 of file virtio.h.

int virtio_if_t::tap_fd

Definition at line 102 of file virtio.h.

u16 virtio_if_t::tx_ring_sz

Definition at line 108 of file virtio.h.

virtio_if_type_t virtio_if_t::type

Definition at line 107 of file virtio.h.

virtio_vring_t* virtio_if_t::vrings

Definition at line 103 of file virtio.h.


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