static void vde_to_qemu(void *opaque)

{

    VDEState *s = opaque;

    uint8_t buf[4096];

    int size;



    size = vde_recv(s->vde, (char *)buf, sizeof(buf), 0);

    if (size > 0) {

        qemu_send_packet(&s->nc, buf, size);

    }

}

static void vde_to_qemu(void *opaque)

{

    VDEState *s = opaque;

    uint8_t buf[4096];

    int size;



    size = vde_recv(s->vde, (char *)buf, sizeof(buf), 0);

    if (size > 0) {

        qemu_send_packet(&s->nc, buf, size);

    }

}

static void FUNC_0(void *VAR_0)

{

    VDEState *s = VAR_0;

    uint8_t buf[4096];

    int VAR_1;



    VAR_1 = vde_recv(s->vde, (char *)buf, sizeof(buf), 0);

    if (VAR_1 > 0) {

        qemu_send_packet(&s->nc, buf, VAR_1);

    }

}

static void FUNC_0(void *VAR_0)
{ VDEState *s = VAR_0; uint8_t buf[4096]; int VAR_1; VAR_1 = vde_recv(s->vde, (char *)buf, sizeof(buf), 0); if (VAR_1 > 0) { qemu_send_packet(&s->nc, buf, VAR_1); } }