static void net_socket_update_fd_handler(NetSocketState *s)

{

    qemu_set_fd_handler2(s->fd,

                         s->read_poll  ? net_socket_can_send : NULL,

                         s->read_poll  ? s->send_fn : NULL,

                         s->write_poll ? net_socket_writable : NULL,

                         s);

}

static void net_socket_update_fd_handler(NetSocketState *s)

{

    qemu_set_fd_handler2(s->fd,

                         s->read_poll  ? net_socket_can_send : NULL,

                         s->read_poll  ? s->send_fn : NULL,

                         s->write_poll ? net_socket_writable : NULL,

                         s);

}

static void FUNC_0(NetSocketState *VAR_0)

{

    qemu_set_fd_handler2(VAR_0->fd,

                         VAR_0->read_poll  ? net_socket_can_send : NULL,

                         VAR_0->read_poll  ? VAR_0->send_fn : NULL,

                         VAR_0->write_poll ? net_socket_writable : NULL,

                         VAR_0);

}

static void FUNC_0(NetSocketState *VAR_0)
{ qemu_set_fd_handler2(VAR_0->fd,
VAR_0->read_poll  ? net_socket_can_send : NULL,
VAR_0->read_poll  ? VAR_0->send_fn : NULL,
VAR_0->write_poll ? net_socket_writable : NULL,
VAR_0); }