void tcp_start_incoming_migration(const char *host_port, Error **errp)

{

    int s;



    s = inet_listen(host_port, NULL, 256, SOCK_STREAM, 0, errp);

    if (s < 0) {

        return;

    }



    qemu_set_fd_handler2(s, NULL, tcp_accept_incoming_migration, NULL,

                         (void *)(intptr_t)s);

}

void tcp_start_incoming_migration(const char *host_port, Error **errp)

{

    int s;



    s = inet_listen(host_port, NULL, 256, SOCK_STREAM, 0, errp);

    if (s < 0) {

        return;

    }



    qemu_set_fd_handler2(s, NULL, tcp_accept_incoming_migration, NULL,

                         (void *)(intptr_t)s);

}

void FUNC_0(const char *VAR_0, Error **VAR_1)

{

    int VAR_2;



    VAR_2 = inet_listen(VAR_0, NULL, 256, SOCK_STREAM, 0, VAR_1);

    if (VAR_2 < 0) {

        return;

    }



    qemu_set_fd_handler2(VAR_2, NULL, tcp_accept_incoming_migration, NULL,

                         (void *)(intptr_t)VAR_2);

}

void FUNC_0(const char *VAR_0, Error **VAR_1)
{ int VAR_2; VAR_2 = inet_listen(VAR_0, NULL, 256, SOCK_STREAM, 0, VAR_1); if (VAR_2 < 0) { return; } qemu_set_fd_handler2(VAR_2, NULL, tcp_accept_incoming_migration, NULL,
(void *)(intptr_t)VAR_2); }