Lines Matching refs:remoteAddr
53 return socket_sockaddr_to_address(&ioc->remoteAddr, in qio_channel_socket_get_remote_address()
93 sioc->remoteAddrLen = sizeof(sioc->remoteAddr); in qio_channel_socket_set_fd()
97 if (getpeername(fd, (struct sockaddr *)&sioc->remoteAddr, in qio_channel_socket_set_fd()
100 memset(&sioc->remoteAddr, 0, sizeof(sioc->remoteAddr)); in qio_channel_socket_set_fd()
101 sioc->remoteAddrLen = sizeof(sioc->remoteAddr); in qio_channel_socket_set_fd()
300 SocketAddress *remoteAddr, in qio_channel_socket_dgram_sync() argument
305 trace_qio_channel_socket_dgram_sync(ioc, localAddr, remoteAddr); in qio_channel_socket_dgram_sync()
306 fd = socket_dgram(remoteAddr, localAddr, errp); in qio_channel_socket_dgram_sync()
324 SocketAddress *remoteAddr; member
332 qapi_free_SocketAddress(data->remoteAddr); in qio_channel_socket_dgram_worker_free()
345 data->remoteAddr, &err); in qio_channel_socket_dgram_worker()
353 SocketAddress *remoteAddr, in qio_channel_socket_dgram_async() argument
365 data->remoteAddr = QAPI_CLONE(SocketAddress, remoteAddr); in qio_channel_socket_dgram_async()
367 trace_qio_channel_socket_dgram_async(ioc, localAddr, remoteAddr); in qio_channel_socket_dgram_async()
383 cioc->remoteAddrLen = sizeof(ioc->remoteAddr); in qio_channel_socket_accept()
388 cioc->fd = qemu_accept(ioc->fd, (struct sockaddr *)&cioc->remoteAddr, in qio_channel_socket_accept()