static void netmap_update_fd_handler(NetmapState *s)

{

    qemu_set_fd_handler2(s->me.fd,

                         s->read_poll  ? netmap_can_send : NULL,

                         s->read_poll  ? netmap_send     : NULL,

                         s->write_poll ? netmap_writable : NULL,

                         s);

}

static void netmap_update_fd_handler(NetmapState *s)

{

    qemu_set_fd_handler2(s->me.fd,

                         s->read_poll  ? netmap_can_send : NULL,

                         s->read_poll  ? netmap_send     : NULL,

                         s->write_poll ? netmap_writable : NULL,

                         s);

}

static void FUNC_0(NetmapState *VAR_0)

{

    qemu_set_fd_handler2(VAR_0->me.fd,

                         VAR_0->read_poll  ? netmap_can_send : NULL,

                         VAR_0->read_poll  ? netmap_send     : NULL,

                         VAR_0->write_poll ? netmap_writable : NULL,

                         VAR_0);

}

static void FUNC_0(NetmapState *VAR_0)
{ qemu_set_fd_handler2(VAR_0->me.fd,
VAR_0->read_poll  ? netmap_can_send : NULL,
VAR_0->read_poll  ? netmap_send     : NULL,
VAR_0->write_poll ? netmap_writable : NULL,
VAR_0); }