aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xeno/vif.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen/include/xeno/vif.h')
-rw-r--r--xen/include/xeno/vif.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/include/xeno/vif.h b/xen/include/xeno/vif.h
index 4fb2e275d1..6cc339cbd9 100644
--- a/xen/include/xeno/vif.h
+++ b/xen/include/xeno/vif.h
@@ -20,6 +20,10 @@
#include <hypervisor-ifs/network.h>
+#include <xeno/if_ether.h>
+
+extern struct net_device *the_dev;
+
/*
* shadow ring structures are used to protect the descriptors from
* tampering after they have been passed to the hypervisor.
@@ -69,6 +73,7 @@ typedef struct net_vif_st {
struct list_head list; /* scheduling list */
atomic_t refcnt;
spinlock_t rx_lock, tx_lock;
+ unsigned char vmac[ETH_ALEN];
} net_vif_t;
#define get_vif(_v) (atomic_inc(&(_v)->refcnt))