aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-14 22:35:07 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-14 22:35:07 +0100
commit9d07d7579bcaf01e05c511c63d091ed2ac310091 (patch)
tree20ed00454b9ddabf62cc673b14d1234cbc078287 /net.h
parent9be5dafe488088bcff8f8365bc7dd35d3dac5186 (diff)
PCI network qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'net.h')
-rw-r--r--net.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net.h b/net.h
index cdf63a4b1e..41a3082ce8 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