static CharDriverState *qmp_chardev_open_udp(ChardevUdp *udp,

                                             Error **errp)

{

    int fd;



    fd = socket_dgram(udp->remote, udp->local, errp);

    if (error_is_set(errp)) {

        return NULL;

    }

    return qemu_chr_open_udp_fd(fd);

}

static CharDriverState *qmp_chardev_open_udp(ChardevUdp *udp,

                                             Error **errp)

{

    int fd;



    fd = socket_dgram(udp->remote, udp->local, errp);

    if (error_is_set(errp)) {

        return NULL;

    }

    return qemu_chr_open_udp_fd(fd);

}

    if (error_is_set(errp)) {     if (error_is_set(errp)) {     if (error_is_set(errp)) {     if (error_is_set(errp)) {     if (error_is_set(errp)) {
static CharDriverState *FUNC_0(ChardevUdp *udp,

                                             Error **errp)

{

    int VAR_0;



    VAR_0 = socket_dgram(udp->remote, udp->local, errp);

    if (error_is_set(errp)) {

        return NULL;

    }

    return qemu_chr_open_udp_fd(VAR_0);

}

static CharDriverState *FUNC_0(ChardevUdp *udp,
Error **errp)
{ int VAR_0; VAR_0 = socket_dgram(udp->remote, udp->local, errp); if (error_is_set(errp)) { return NULL; } return qemu_chr_open_udp_fd(VAR_0); }