mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
net: Look up 'vlan' net clients using hubs
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
d33d93b2c4
commit
90d87a33c7
4 changed files with 30 additions and 29 deletions
|
@ -20,6 +20,7 @@
|
|||
int net_init_hubport(const NetClientOptions *opts, const char *name,
|
||||
VLANClientState *peer);
|
||||
VLANClientState *net_hub_add_port(int hub_id, const char *name);
|
||||
VLANClientState *net_hub_find_client_by_name(int hub_id, const char *name);
|
||||
void net_hub_info(Monitor *mon);
|
||||
int net_hub_id_for_client(VLANClientState *nc, int *id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue