int net_init_vde(QemuOpts *opts, const NetClientOptions *new_opts,

                 const char *name, VLANState *vlan)

{

    const char *sock;

    const char *group;

    int port, mode;



    sock  = qemu_opt_get(opts, "sock");

    group = qemu_opt_get(opts, "group");



    port = qemu_opt_get_number(opts, "port", 0);

    mode = qemu_opt_get_number(opts, "mode", 0700);



    if (net_vde_init(vlan, "vde", name, sock, port, group, mode) == -1) {

        return -1;

    }



    return 0;

}

int net_init_vde(QemuOpts *opts, const NetClientOptions *new_opts,

                 const char *name, VLANState *vlan)

{

    const char *sock;

    const char *group;

    int port, mode;



    sock  = qemu_opt_get(opts, "sock");

    group = qemu_opt_get(opts, "group");



    port = qemu_opt_get_number(opts, "port", 0);

    mode = qemu_opt_get_number(opts, "mode", 0700);



    if (net_vde_init(vlan, "vde", name, sock, port, group, mode) == -1) {

        return -1;

    }



    return 0;

}

int FUNC_0(QemuOpts *VAR_0, const NetClientOptions *VAR_1,

                 const char *VAR_2, VLANState *VAR_3)

{

    const char *VAR_4;

    const char *VAR_5;

    int VAR_6, VAR_7;



    VAR_4  = qemu_opt_get(VAR_0, "VAR_4");

    VAR_5 = qemu_opt_get(VAR_0, "VAR_5");



    VAR_6 = qemu_opt_get_number(VAR_0, "VAR_6", 0);

    VAR_7 = qemu_opt_get_number(VAR_0, "VAR_7", 0700);



    if (net_vde_init(VAR_3, "vde", VAR_2, VAR_4, VAR_6, VAR_5, VAR_7) == -1) {

        return -1;

    }



    return 0;

}

int FUNC_0(QemuOpts *VAR_0, const NetClientOptions *VAR_1,
const char *VAR_2, VLANState *VAR_3)
{ const char *VAR_4; const char *VAR_5; int VAR_6, VAR_7; VAR_4  = qemu_opt_get(VAR_0, "VAR_4"); VAR_5 = qemu_opt_get(VAR_0, "VAR_5"); VAR_6 = qemu_opt_get_number(VAR_0, "VAR_6", 0); VAR_7 = qemu_opt_get_number(VAR_0, "VAR_7", 0700); if (net_vde_init(VAR_3, "vde", VAR_2, VAR_4, VAR_6, VAR_5, VAR_7) == -1) { return -1; } return 0; }