Home
last modified time | relevance | path

Searched refs:wioc (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/io/
H A Dchannel-websock.c534 QIOChannelWebsock *wioc = QIO_CHANNEL_WEBSOCK( in qio_channel_websock_handshake_send() local
539 ret = qio_channel_write(wioc->master, in qio_channel_websock_handshake_send()
540 (char *)wioc->encoutput.buffer, in qio_channel_websock_handshake_send()
541 wioc->encoutput.offset, in qio_channel_websock_handshake_send()
551 buffer_advance(&wioc->encoutput, ret); in qio_channel_websock_handshake_send()
552 if (wioc->encoutput.offset == 0) { in qio_channel_websock_handshake_send()
553 if (wioc->io_err) { in qio_channel_websock_handshake_send()
555 ioc, error_get_pretty(wioc->io_err)); in qio_channel_websock_handshake_send()
556 qio_task_set_error(task, wioc->io_err); in qio_channel_websock_handshake_send()
557 wioc->io_err = NULL; in qio_channel_websock_handshake_send()
[all …]
/openbmc/qemu/ui/
H A Dvnc-ws.c125 QIOChannelWebsock *wioc; in vncws_handshake_io() local
137 wioc = qio_channel_websock_new_server(vs->ioc); in vncws_handshake_io()
138 qio_channel_set_name(QIO_CHANNEL(wioc), "vnc-ws-server-websock"); in vncws_handshake_io()
141 vs->ioc = QIO_CHANNEL(wioc); in vncws_handshake_io()
144 qio_channel_websock_handshake(wioc, in vncws_handshake_io()
/openbmc/qemu/chardev/
H A Dchar-socket.c797 QIOChannelWebsock *wioc = NULL; in tcp_chr_websock_init() local
800 wioc = qio_channel_websock_new_server(s->ioc); in tcp_chr_websock_init()
803 qio_channel_set_name(QIO_CHANNEL(wioc), name); in tcp_chr_websock_init()
806 s->ioc = QIO_CHANNEL(wioc); in tcp_chr_websock_init()
808 qio_channel_websock_handshake(wioc, tcp_chr_websock_handshake, chr, NULL); in tcp_chr_websock_init()