]> git.proxmox.com Git - qemu.git/blobdiff - tap-win32.c
net: pass VLANClientState* as first arg to receive handlers
[qemu.git] / tap-win32.c
index ccf7e45e55b51fb4778c4b9311219d7bc74d50bf..ff1e1ed5f43c261b1cd99f2521daabff4f0620ee 100644 (file)
@@ -650,7 +650,7 @@ static void tap_cleanup(VLANClientState *vc)
     qemu_free(s);
 }
 
-static void tap_receive(void *opaque, const uint8_t *buf, size_t size)
+static void tap_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
 {
     TAPState *s = opaque;