void qemu_purge_queued_packets(VLANClientState *vc)

{

    VLANPacket *packet, *next;



    TAILQ_FOREACH_SAFE(packet, &vc->vlan->send_queue, entry, next) {

        if (packet->sender == vc) {

            TAILQ_REMOVE(&vc->vlan->send_queue, packet, entry);

            qemu_free(packet);

        }

    }

}

void qemu_purge_queued_packets(VLANClientState *vc)

{

    VLANPacket *packet, *next;



    TAILQ_FOREACH_SAFE(packet, &vc->vlan->send_queue, entry, next) {

        if (packet->sender == vc) {

            TAILQ_REMOVE(&vc->vlan->send_queue, packet, entry);

            qemu_free(packet);

        }

    }

}

void FUNC_0(VLANClientState *VAR_0)

{

    VLANPacket *packet, *next;



    TAILQ_FOREACH_SAFE(packet, &VAR_0->vlan->send_queue, entry, next) {

        if (packet->sender == VAR_0) {

            TAILQ_REMOVE(&VAR_0->vlan->send_queue, packet, entry);

            qemu_free(packet);

        }

    }

}

void FUNC_0(VLANClientState *VAR_0)
{ VLANPacket *packet, *next; TAILQ_FOREACH_SAFE(packet, &VAR_0->vlan->send_queue, entry, next) { if (packet->sender == VAR_0) { TAILQ_REMOVE(&VAR_0->vlan->send_queue, packet, entry); qemu_free(packet); } } }