mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
net: Add a hub net client
The vlan feature can be implemented in terms of hubs. By introducing a hub net client it becomes possible to remove the special case vlan code from net.c and push the vlan feature out of generic networking code. 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
34309d2b12
commit
f6c874e300
5 changed files with 282 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
common-obj-y = queue.o checksum.o util.o
|
||||
common-obj-y = queue.o checksum.o util.o hub.o
|
||||
common-obj-y += socket.o
|
||||
common-obj-y += dump.o
|
||||
common-obj-$(CONFIG_POSIX) += tap.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue