aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-net.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-05 22:36:12 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-05 22:36:12 +0000
commit7967406801aa897fae83caad3278ac85a342adaa (patch)
tree1409a85c11ab2ad20d3640c2def15bd6bc3e81ca /hw/virtio-net.h
parent0f03eca6065fa6510cc480494d800f938484c7f6 (diff)
qemu:virtio-net: Define ETH_ALEN for use when manipulating MAC addresses (Alex Williamson)
Makes it much easier to search too. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6535 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/virtio-net.h')
-rw-r--r--hw/virtio-net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/virtio-net.h b/hw/virtio-net.h
index 148ec47126..9dce663bb6 100644
--- a/hw/virtio-net.h
+++ b/hw/virtio-net.h
@@ -18,6 +18,8 @@
#include "net.h"
#include "pci.h"
+#define ETH_ALEN 6
+
/* from Linux's virtio_net.h */
/* The ID for virtio_net */