Revision 4f1c942b tap-win32.c
b/tap-win32.c | ||
---|---|---|
650 | 650 |
qemu_free(s); |
651 | 651 |
} |
652 | 652 |
|
653 |
static void tap_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
|
|
653 |
static ssize_t tap_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
|
|
654 | 654 |
{ |
655 |
TAPState *s = opaque; |
|
655 |
TAPState *s = vc->opaque;
|
|
656 | 656 |
|
657 |
tap_win32_write(s->handle, buf, size); |
|
657 |
return tap_win32_write(s->handle, buf, size);
|
|
658 | 658 |
} |
659 | 659 |
|
660 | 660 |
static void tap_win32_send(void *opaque) |
Also available in: Unified diff