int net_init_vde(QemuOpts *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 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;

}

        return -1; int net_init_vde(QemuOpts *opts, const char *name, VLANState *vlan)
int FUNC_0(QemuOpts *VAR_0, const char *VAR_1, VLANState *VAR_2)

{

    const char *VAR_3;

    const char *VAR_4;

    int VAR_5, VAR_6;



    VAR_3  = qemu_opt_get(VAR_0, "VAR_3");

    VAR_4 = qemu_opt_get(VAR_0, "VAR_4");



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

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



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

        return -1;

    }



    return 0;

}

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