mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
net: Rename vc local variables to nc
Now that VLANClientState has been renamed to NetClientState all 'vc' local variables should be 'nc'. Much of the code already used 'nc' but there are places where 'vc' needs to be renamed. 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
4e68f7a081
commit
35277d14ec
6 changed files with 143 additions and 143 deletions
|
@ -719,12 +719,12 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int tap_has_ufo(NetClientState *vc)
|
||||
int tap_has_ufo(NetClientState *nc)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int tap_has_vnet_hdr(NetClientState *vc)
|
||||
int tap_has_vnet_hdr(NetClientState *nc)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -738,11 +738,11 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
|
|||
{
|
||||
}
|
||||
|
||||
void tap_using_vnet_hdr(NetClientState *vc, int using_vnet_hdr)
|
||||
void tap_using_vnet_hdr(NetClientState *nc, int using_vnet_hdr)
|
||||
{
|
||||
}
|
||||
|
||||
void tap_set_offload(NetClientState *vc, int csum, int tso4,
|
||||
void tap_set_offload(NetClientState *nc, int csum, int tso4,
|
||||
int tso6, int ecn, int ufo)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue