void net_host_device_remove(Monitor *mon, int vlan_id, const char *device)

{

    VLANState *vlan;

    VLANClientState *vc;



    vlan = qemu_find_vlan(vlan_id);



   for(vc = vlan->first_client; vc != NULL; vc = vc->next)

        if (!strcmp(vc->name, device))

            break;



    if (!vc) {

        monitor_printf(mon, "can't find device %s\n", device);

        return;

    }

    qemu_del_vlan_client(vc);

}

void net_host_device_remove(Monitor *mon, int vlan_id, const char *device)

{

    VLANState *vlan;

    VLANClientState *vc;



    vlan = qemu_find_vlan(vlan_id);



   for(vc = vlan->first_client; vc != NULL; vc = vc->next)

        if (!strcmp(vc->name, device))

            break;



    if (!vc) {

        monitor_printf(mon, "can't find device %s\n", device);

        return;

    }

    qemu_del_vlan_client(vc);

}

void FUNC_0(Monitor *VAR_0, int VAR_1, const char *VAR_2)

{

    VLANState *vlan;

    VLANClientState *vc;



    vlan = qemu_find_vlan(VAR_1);



   for(vc = vlan->first_client; vc != NULL; vc = vc->next)

        if (!strcmp(vc->name, VAR_2))

            break;



    if (!vc) {

        monitor_printf(VAR_0, "can't find VAR_2 %s\n", VAR_2);

        return;

    }

    qemu_del_vlan_client(vc);

}

void FUNC_0(Monitor *VAR_0, int VAR_1, const char *VAR_2)
{ VLANState *vlan; VLANClientState *vc; vlan = qemu_find_vlan(VAR_1); for(vc = vlan->first_client; vc != NULL; vc = vc->next) if (!strcmp(vc->name, VAR_2))
break; if (!vc) { monitor_printf(VAR_0, "can't find VAR_2 %s\n", VAR_2); return; } qemu_del_vlan_client(vc); }