mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
net: Rename VLANClientState to NetClientState
The vlan feature is no longer part of net core. Rename VLANClientState to NetClientState because net clients are not explicitly associated with a vlan at all, instead they have a peer net client to which they are connected. This patch is a mechanical search-and-replace except for a few whitespace fixups where changing VLANClientState to NetClientState misaligned whitespace. 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
94878994dc
commit
4e68f7a081
50 changed files with 282 additions and 283 deletions
|
@ -31,5 +31,5 @@ typedef struct NE2000State {
|
|||
void ne2000_setup_io(NE2000State *s, unsigned size);
|
||||
extern const VMStateDescription vmstate_ne2000;
|
||||
void ne2000_reset(NE2000State *s);
|
||||
int ne2000_can_receive(VLANClientState *vc);
|
||||
ssize_t ne2000_receive(VLANClientState *vc, const uint8_t *buf, size_t size_);
|
||||
int ne2000_can_receive(NetClientState *vc);
|
||||
ssize_t ne2000_receive(NetClientState *vc, const uint8_t *buf, size_t size_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue