int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data)
{
    QemuOpts *opts;
    int res;
    opts = qemu_opts_from_qdict(&qemu_netdev_opts, qdict);
    if (!opts) {
        return -1;
    res = net_client_init(mon, opts, 1);
    return res;
int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data)
{
    QemuOpts *opts;
    int res;
    opts = qemu_opts_from_qdict(&qemu_netdev_opts, qdict);
    if (!opts) {
        return -1;
    res = net_client_init(mon, opts, 1);
    return res;
int FUNC_0(Monitor *VAR_0, const QDict *VAR_1, QObject **VAR_2)
{
    QemuOpts *opts;
    int VAR_3;
    opts = qemu_opts_from_qdict(&qemu_netdev_opts, VAR_1);
    if (!opts) {
        return -1;
    VAR_3 = net_client_init(VAR_0, opts, 1);
    return VAR_3;
int FUNC_0(Monitor *VAR_0, const QDict *VAR_1, QObject **VAR_2)
{ QemuOpts *opts; int VAR_3; opts = qemu_opts_from_qdict(&qemu_netdev_opts, VAR_1); if (!opts) { return -1; VAR_3 = net_client_init(VAR_0, opts, 1); return VAR_3;