diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-10-21 15:25:22 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:36 -0500 |
commit | 76d32cba7e502faf04fdce6b14b2f94a301e6dc8 (patch) | |
tree | ac034175ab0a4c2bf9090fb7dee353cca5e3d3a5 /qemu-common.h | |
parent | 18995b9808dc48897bda6ed93ce3e978191f7251 (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.h | 1 |
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; |