From 76d32cba7e502faf04fdce6b14b2f94a301e6dc8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 21 Oct 2009 15:25:22 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- qemu-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qemu-common.h') 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; -- cgit v1.2.3