aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/devices/virtio/virtio.h')
-rw-r--r--src/vnet/devices/virtio/virtio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/virtio.h b/src/vnet/devices/virtio/virtio.h
index 7dcd90ac353..cb97df87121 100644
--- a/src/vnet/devices/virtio/virtio.h
+++ b/src/vnet/devices/virtio/virtio.h
@@ -91,6 +91,7 @@ typedef struct
typedef struct
{
u32 flags;
+ u32 id;
u32 dev_instance;
u32 hw_if_index;
u32 sw_if_index;
@@ -102,7 +103,7 @@ typedef struct
u64 features, remote_features;
virtio_if_type_t type;
- u8 *name;
+ u8 *host_if_name;
u8 *net_ns;
int ifindex;
} virtio_if_t;