/openbmc/qemu/io/ |
H A D | channel-tls.c | 34 QIOChannelTLS *tioc = QIO_CHANNEL_TLS(opaque); in qio_channel_tls_write_handler() local 37 ret = qio_channel_write(tioc->master, buf, len, errp); in qio_channel_tls_write_handler() 51 QIOChannelTLS *tioc = QIO_CHANNEL_TLS(opaque); in qio_channel_tls_read_handler() local 54 ret = qio_channel_read(tioc->master, buf, len, errp); in qio_channel_tls_read_handler() 70 QIOChannelTLS *tioc; in qio_channel_tls_new_server() local 73 tioc = QIO_CHANNEL_TLS(object_new(TYPE_QIO_CHANNEL_TLS)); in qio_channel_tls_new_server() 74 ioc = QIO_CHANNEL(tioc); in qio_channel_tls_new_server() 76 tioc->master = master; in qio_channel_tls_new_server() 83 tioc->session = qcrypto_tls_session_new( in qio_channel_tls_new_server() 89 if (!tioc->session) { in qio_channel_tls_new_server() [all …]
|
H A D | channel-websock.c | 1194 QIOChannelWebsock *tioc = QIO_CHANNEL_WEBSOCK(ioc); in qio_channel_websock_set_delay() local 1196 qio_channel_set_delay(tioc->master, enabled); in qio_channel_websock_set_delay() 1202 QIOChannelWebsock *tioc = QIO_CHANNEL_WEBSOCK(ioc); in qio_channel_websock_set_cork() local 1204 qio_channel_set_cork(tioc->master, enabled); in qio_channel_websock_set_cork() 1211 QIOChannelWebsock *tioc = QIO_CHANNEL_WEBSOCK(ioc); in qio_channel_websock_shutdown() local 1213 return qio_channel_shutdown(tioc->master, how, errp); in qio_channel_websock_shutdown()
|
/openbmc/qemu/migration/ |
H A D | tls.c | 79 QIOChannelTLS *tioc; in migration_tls_channel_process_incoming() local 86 tioc = qio_channel_tls_new_server(ioc, creds, migrate_tls_authz(), errp); in migration_tls_channel_process_incoming() 87 if (!tioc) { in migration_tls_channel_process_incoming() 92 qio_channel_set_name(QIO_CHANNEL(tioc), "migration-tls-incoming"); in migration_tls_channel_process_incoming() 93 qio_channel_tls_handshake(tioc, in migration_tls_channel_process_incoming() 141 QIOChannelTLS *tioc; in migration_tls_channel_connect() local 143 tioc = migration_tls_client_create(ioc, hostname, errp); in migration_tls_channel_connect() 144 if (!tioc) { in migration_tls_channel_connect() 151 qio_channel_set_name(QIO_CHANNEL(tioc), "migration-tls-outgoing"); in migration_tls_channel_connect() 152 qio_channel_tls_handshake(tioc, in migration_tls_channel_connect()
|
H A D | multifd.c | 681 QIOChannelTLS *tioc; member 688 qio_channel_tls_handshake(args->tioc, in multifd_tls_handshake_thread() 705 QIOChannelTLS *tioc; in multifd_tls_channel_connect() local 707 tioc = migration_tls_client_create(ioc, hostname, errp); in multifd_tls_channel_connect() 708 if (!tioc) { in multifd_tls_channel_connect() 717 trace_multifd_tls_outgoing_handshake_start(ioc, tioc, hostname); in multifd_tls_channel_connect() 718 qio_channel_set_name(QIO_CHANNEL(tioc), "multifd-tls-outgoing"); in multifd_tls_channel_connect() 721 args->tioc = tioc; in multifd_tls_channel_connect()
|
H A D | postcopy-ram.c | 1635 QIOChannelTLS *tioc; in postcopy_preempt_send_channel_new() local 1643 tioc = migration_tls_client_create(ioc, s->hostname, &local_err); in postcopy_preempt_send_channel_new() 1644 if (!tioc) { in postcopy_preempt_send_channel_new() 1648 qio_channel_set_name(QIO_CHANNEL(tioc), "migration-tls-preempt"); in postcopy_preempt_send_channel_new() 1649 qio_channel_tls_handshake(tioc, postcopy_preempt_tls_handshake, in postcopy_preempt_send_channel_new()
|
H A D | trace-events | 149 multifd_tls_outgoing_handshake_start(void *ioc, void *tioc, const char *hostname) "ioc=%p tioc=%p h…
|
/openbmc/qemu/nbd/ |
H A D | client.c | 622 QIOChannelTLS *tioc; in nbd_receive_starttls() local 635 tioc = qio_channel_tls_new_client(ioc, tlscreds, hostname, errp); in nbd_receive_starttls() 636 if (!tioc) { in nbd_receive_starttls() 639 qio_channel_set_name(QIO_CHANNEL(tioc), "nbd-client-tls"); in nbd_receive_starttls() 641 qio_channel_tls_handshake(tioc, in nbd_receive_starttls() 656 object_unref(OBJECT(tioc)); in nbd_receive_starttls() 660 return QIO_CHANNEL(tioc); in nbd_receive_starttls()
|
H A D | server.c | 787 QIOChannelTLS *tioc; in nbd_negotiate_handle_starttls() local 799 tioc = qio_channel_tls_new_server(ioc, in nbd_negotiate_handle_starttls() 803 if (!tioc) { in nbd_negotiate_handle_starttls() 807 qio_channel_set_name(QIO_CHANNEL(tioc), "nbd-server-tls"); in nbd_negotiate_handle_starttls() 810 qio_channel_tls_handshake(tioc, in nbd_negotiate_handle_starttls() 822 object_unref(OBJECT(tioc)); in nbd_negotiate_handle_starttls() 827 return QIO_CHANNEL(tioc); in nbd_negotiate_handle_starttls() 1237 QIOChannel *tioc; in nbd_negotiate_options() local 1249 tioc = nbd_negotiate_handle_starttls(client, errp); in nbd_negotiate_options() 1250 if (!tioc) { in nbd_negotiate_options() [all …]
|
/openbmc/qemu/chardev/ |
H A D | char-socket.c | 839 QIOChannelTLS *tioc; in tcp_chr_tls_init() local 844 tioc = qio_channel_tls_new_server( in tcp_chr_tls_init() 849 tioc = qio_channel_tls_new_client( in tcp_chr_tls_init() 854 if (tioc == NULL) { in tcp_chr_tls_init() 863 qio_channel_set_name(QIO_CHANNEL(tioc), name); in tcp_chr_tls_init() 866 s->ioc = QIO_CHANNEL(tioc); in tcp_chr_tls_init() 868 qio_channel_tls_handshake(tioc, in tcp_chr_tls_init()
|