Crate vsock

Source
Expand description

Virtio socket support for Rust.

Structs§

Incoming
An iterator that infinitely accepts connections on a VsockListener.
VsockAddr
Socket address for VMWare VSockets protocol
VsockListener
A virtio socket server, listening for connections.
VsockStream
A virtio stream between a local and a remote socket.

Constants§

VMADDR_CID_ANY
VMADDR_CID_HOST
VMADDR_CID_HYPERVISOR
VMADDR_CID_LOCAL

Traits§

SockaddrLike
Anything that, in C, can be cast back and forth to sockaddr.

Functions§

get_local_cid
Gets the CID of the local machine.
vm_sockets_get_local_cid