]> git.proxmox.com Git - qemu.git/blobdiff - net.h
vnc_refresh: return if vd->timer is NULL
[qemu.git] / net.h
diff --git a/net.h b/net.h
index 497a7373fa78d44fdb653ccdc274ac4f84af60ac..4971fcbbb525cb0020d100e61f34d55f95d116be 100644 (file)
--- a/net.h
+++ b/net.h
@@ -95,6 +95,8 @@ NICState *qemu_new_nic(NetClientInfo *info,
 void qemu_del_vlan_client(VLANClientState *vc);
 VLANClientState *qemu_find_vlan_client_by_name(Monitor *mon, int vlan_id,
                                                const char *client_str);
+typedef void (*qemu_nic_foreach)(NICState *nic, void *opaque);
+void qemu_foreach_nic(qemu_nic_foreach func, void *opaque);
 int qemu_can_send_packet(VLANClientState *vc);
 ssize_t qemu_sendv_packet(VLANClientState *vc, const struct iovec *iov,
                           int iovcnt);
@@ -137,6 +139,7 @@ struct NICInfo {
 
 extern int nb_nics;
 extern NICInfo nd_table[MAX_NICS];
+extern int default_net;
 
 /* BT HCI info */