From 7967406801aa897fae83caad3278ac85a342adaa Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 5 Feb 2009 22:36:12 +0000 Subject: 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 Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6535 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/virtio-net.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/virtio-net.h') 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 */ -- cgit v1.2.3