void destroy_nic(dev_match_fn *match_fn, void *arg)

{

    int i;

    NICInfo *nic;



    for (i = 0; i < MAX_NICS; i++) {

        nic = &nd_table[i];

        if (nic->used) {

            if (nic->private && match_fn(nic->private, arg)) {

                if (nic->vlan) {

                    VLANClientState *vc;

                    vc = qemu_find_vlan_client(nic->vlan, nic->private);

                    if (vc)

                        qemu_del_vlan_client(vc);

                }

                net_client_uninit(nic);

            }

        }

    }

}

void destroy_nic(dev_match_fn *match_fn, void *arg)

{

    int i;

    NICInfo *nic;



    for (i = 0; i < MAX_NICS; i++) {

        nic = &nd_table[i];

        if (nic->used) {

            if (nic->private && match_fn(nic->private, arg)) {

                if (nic->vlan) {

                    VLANClientState *vc;

                    vc = qemu_find_vlan_client(nic->vlan, nic->private);

                    if (vc)

                        qemu_del_vlan_client(vc);

                }

                net_client_uninit(nic);

            }

        }

    }

}

                if (nic->vlan) {                     VLANClientState *vc;                     vc = qemu_find_vlan_client(nic->vlan, nic->private);                     if (vc)                         qemu_del_vlan_client(vc);
void FUNC_0(dev_match_fn *VAR_0, void *VAR_1)

{

    int VAR_2;

    NICInfo *nic;



    for (VAR_2 = 0; VAR_2 < MAX_NICS; VAR_2++) {

        nic = &nd_table[VAR_2];

        if (nic->used) {

            if (nic->private && VAR_0(nic->private, VAR_1)) {

                if (nic->vlan) {

                    VLANClientState *vc;

                    vc = qemu_find_vlan_client(nic->vlan, nic->private);

                    if (vc)

                        qemu_del_vlan_client(vc);

                }

                net_client_uninit(nic);

            }

        }

    }

}

void FUNC_0(dev_match_fn *VAR_0, void *VAR_1)
{ int VAR_2; NICInfo *nic; for (VAR_2 = 0; VAR_2 < MAX_NICS; VAR_2++) { nic = &nd_table[VAR_2]; if (nic->used) { if (nic->private && VAR_0(nic->private, VAR_1)) { if (nic->vlan) { VLANClientState *vc; vc = qemu_find_vlan_client(nic->vlan, nic->private); if (vc)
qemu_del_vlan_client(vc); } net_client_uninit(nic); } } } }