net: Use hubs for the vlan feature
Stop using the special-case vlan code in net.c. Instead use the hub net client to implement the vlan feature. The next patch will remove vlan code from net.c completely. 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>
Showing
- net.c 20 additions, 17 deletionsnet.c
- net/dump.c 13 additions, 6 deletionsnet/dump.c
- net/dump.h 1 addition, 1 deletionnet/dump.h
- net/hub.c 3 additions, 3 deletionsnet/hub.c
- net/hub.h 1 addition, 1 deletionnet/hub.h
- net/slirp.c 4 additions, 4 deletionsnet/slirp.c
- net/slirp.h 1 addition, 1 deletionnet/slirp.h
- net/socket.c 24 additions, 24 deletionsnet/socket.c
- net/socket.h 1 addition, 1 deletionnet/socket.h
- net/tap-win32.c 4 additions, 4 deletionsnet/tap-win32.c
- net/tap.c 6 additions, 6 deletionsnet/tap.c
- net/tap.h 2 additions, 2 deletionsnet/tap.h
- net/vde.c 4 additions, 4 deletionsnet/vde.c
- net/vde.h 1 addition, 1 deletionnet/vde.h
Loading
Please register or sign in to comment