static void qemu_enqueue_packet(VLANClientState *sender,

                                const uint8_t *buf, int size,

                                NetPacketSent *sent_cb)

{

    VLANPacket *packet;



    packet = qemu_malloc(sizeof(VLANPacket) + size);

    packet->sender = sender;

    packet->size = size;

    packet->sent_cb = sent_cb;

    memcpy(packet->data, buf, size);



    TAILQ_INSERT_TAIL(&sender->vlan->send_queue, packet, entry);

}

static void qemu_enqueue_packet(VLANClientState *sender,

                                const uint8_t *buf, int size,

                                NetPacketSent *sent_cb)

{

    VLANPacket *packet;



    packet = qemu_malloc(sizeof(VLANPacket) + size);

    packet->sender = sender;

    packet->size = size;

    packet->sent_cb = sent_cb;

    memcpy(packet->data, buf, size);



    TAILQ_INSERT_TAIL(&sender->vlan->send_queue, packet, entry);

}

static void FUNC_0(VLANClientState *VAR_0,

                                const uint8_t *VAR_1, int VAR_2,

                                NetPacketSent *VAR_3)

{

    VLANPacket *packet;



    packet = qemu_malloc(sizeof(VLANPacket) + VAR_2);

    packet->VAR_0 = VAR_0;

    packet->VAR_2 = VAR_2;

    packet->VAR_3 = VAR_3;

    memcpy(packet->data, VAR_1, VAR_2);



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

}

static void FUNC_0(VLANClientState *VAR_0,
const uint8_t *VAR_1, int VAR_2,
NetPacketSent *VAR_3)
{ VLANPacket *packet; packet = qemu_malloc(sizeof(VLANPacket) + VAR_2); packet->VAR_0 = VAR_0; packet->VAR_2 = VAR_2; packet->VAR_3 = VAR_3; memcpy(packet->data, VAR_1, VAR_2); TAILQ_INSERT_TAIL(&VAR_0->vlan->send_queue, packet, entry); }