From 9d07d7579bcaf01e05c511c63d091ed2ac310091 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 14 May 2009 22:35:07 +0100 Subject: PCI network qdev conversion Signed-off-by: Paul Brook --- net.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'net.h') diff --git a/net.h b/net.h index cdf63a4..41a3082 100644 --- a/net.h +++ b/net.h @@ -127,4 +127,11 @@ void net_host_device_remove(Monitor *mon, int vlan_id, const char *device); #define SMBD_COMMAND "/usr/sbin/smbd" #endif +void qdev_get_macaddr(DeviceState *dev, uint8_t *macaddr); +VLANClientState *qdev_get_vlan_client(DeviceState *dev, + IOReadHandler *fd_read, + IOCanRWHandler *fd_can_read, + NetCleanup *cleanup, + void *opaque); + #endif -- cgit v1.1