diff options
author | aliguori | 2009-02-05 23:36:12 +0100 |
---|---|---|
committer | aliguori | 2009-02-05 23:36:12 +0100 |
commit | 7967406801aa897fae83caad3278ac85a342adaa (patch) | |
tree | 1409a85c11ab2ad20d3640c2def15bd6bc3e81ca /hw/virtio-net.h | |
parent | qemu:virtio-net: Allow setting the MAC address via set_config (Alex Williamson) (diff) | |
download | qemu-7967406801aa897fae83caad3278ac85a342adaa.tar.gz qemu-7967406801aa897fae83caad3278ac85a342adaa.tar.xz qemu-7967406801aa897fae83caad3278ac85a342adaa.zip |
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.h | 2 |
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 */ |