set_rdt(E1000State *s, int index, uint32_t val)

{

    s->check_rxov = 0;

    s->mac_reg[index] = val & 0xffff;

    if (e1000_has_rxbufs(s, 1)) {

        qemu_flush_queued_packets(&s->nic->nc);

    }

}

set_rdt(E1000State *s, int index, uint32_t val)

{

    s->check_rxov = 0;

    s->mac_reg[index] = val & 0xffff;

    if (e1000_has_rxbufs(s, 1)) {

        qemu_flush_queued_packets(&s->nic->nc);

    }

}

FUNC_0(E1000State *VAR_0, int VAR_1, uint32_t VAR_2)

{

    VAR_0->check_rxov = 0;

    VAR_0->mac_reg[VAR_1] = VAR_2 & 0xffff;

    if (e1000_has_rxbufs(VAR_0, 1)) {

        qemu_flush_queued_packets(&VAR_0->nic->nc);

    }

}

FUNC_0(E1000State *VAR_0, int VAR_1, uint32_t VAR_2)
{ VAR_0->check_rxov = 0; VAR_0->mac_reg[VAR_1] = VAR_2 & 0xffff; if (e1000_has_rxbufs(VAR_0, 1)) { qemu_flush_queued_packets(&VAR_0->nic->nc); } }