]>
git.proxmox.com Git - qemu.git/blob - net/hub.h
3906df2fadfd0df13572fb9c6b9515fe80202b9b
4 * Copyright IBM, Corp. 2012
7 * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
8 * Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
10 * This work is licensed under the terms of the GNU LGPL, version 2 or later.
11 * See the COPYING.LIB file in the top-level directory.
18 #include "qemu-common.h"
20 int net_init_hubport(const NetClientOptions
*opts
, const char *name
,
21 VLANClientState
*peer
);
22 VLANClientState
*net_hub_add_port(int hub_id
, const char *name
);
23 VLANClientState
*net_hub_find_client_by_name(int hub_id
, const char *name
);
24 void net_hub_info(Monitor
*mon
);
25 int net_hub_id_for_client(VLANClientState
*nc
, int *id
);
26 void net_hub_check_clients(void);
27 VLANClientState
*net_hub_port_find(int hub_id
);
29 #endif /* NET_HUB_H */