aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-21 15:25:22 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:36 -0500
commit76d32cba7e502faf04fdce6b14b2f94a301e6dc8 (patch)
treeac034175ab0a4c2bf9090fb7dee353cca5e3d3a5 /qemu-common.h
parent18995b9808dc48897bda6ed93ce3e978191f7251 (diff)
net: add macaddr type.
Add new type for mac addresses. Add function which sets the qemu default mac address if it finds the mac address uninitialized (i.e. all zeros). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index 47272f58cb..768e749feb 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -185,6 +185,7 @@ typedef struct PixelFormat PixelFormat;
typedef struct TextConsole TextConsole;
typedef TextConsole QEMUConsole;
typedef struct CharDriverState CharDriverState;
+typedef struct MACAddr MACAddr;
typedef struct VLANState VLANState;
typedef struct VLANClientState VLANClientState;
typedef struct QEMUFile QEMUFile;