static void rtl8139_transfer_frame(RTL8139State *s, const uint8_t *buf, int size, int do_interrupt)

{

    if (!size)

    {

        DEBUG_PRINT(("RTL8139: +++ empty ethernet frame\n"));

        return;

    }



    if (TxLoopBack == (s->TxConfig & TxLoopBack))

    {

        DEBUG_PRINT(("RTL8139: +++ transmit loopback mode\n"));

        rtl8139_do_receive(s, buf, size, do_interrupt);

    }

    else

    {

        qemu_send_packet(s->vc, buf, size);

    }

}

static void rtl8139_transfer_frame(RTL8139State *s, const uint8_t *buf, int size, int do_interrupt)

{

    if (!size)

    {

        DEBUG_PRINT(("RTL8139: +++ empty ethernet frame\n"));

        return;

    }



    if (TxLoopBack == (s->TxConfig & TxLoopBack))

    {

        DEBUG_PRINT(("RTL8139: +++ transmit loopback mode\n"));

        rtl8139_do_receive(s, buf, size, do_interrupt);

    }

    else

    {

        qemu_send_packet(s->vc, buf, size);

    }

}

static void FUNC_0(RTL8139State *VAR_0, const uint8_t *VAR_1, int VAR_2, int VAR_3)

{

    if (!VAR_2)

    {

        DEBUG_PRINT(("RTL8139: +++ empty ethernet frame\n"));

        return;

    }



    if (TxLoopBack == (VAR_0->TxConfig & TxLoopBack))

    {

        DEBUG_PRINT(("RTL8139: +++ transmit loopback mode\n"));

        rtl8139_do_receive(VAR_0, VAR_1, VAR_2, VAR_3);

    }

    else

    {

        qemu_send_packet(VAR_0->vc, VAR_1, VAR_2);

    }

}

static void FUNC_0(RTL8139State *VAR_0, const uint8_t *VAR_1, int VAR_2, int VAR_3)
{ if (!VAR_2)
{ DEBUG_PRINT(("RTL8139: +++ empty ethernet frame\n")); return; } if (TxLoopBack == (VAR_0->TxConfig & TxLoopBack))
{ DEBUG_PRINT(("RTL8139: +++ transmit loopback mode\n")); rtl8139_do_receive(VAR_0, VAR_1, VAR_2, VAR_3); } else
{ qemu_send_packet(VAR_0->vc, VAR_1, VAR_2); } }