Skip to main content

Crate hybrid_vsock

Crate hybrid_vsock 

Source
Expand description

Provides helper functions for bridging between vsock/hvsocket and Unix domain sockets, utilized by VMBus-based hvsocket and virtio-vsock.

Enums§

ParseError
Error returned by VsockPortOrId::parse_connect_request.
UdsPathError
Error returned by VsockPortOrId::host_uds_path.
VsockPortOrId
Represents the local or remote port number for a vsock connection, or the service ID or instance ID for an hvsocket connection.

Constants§

HYBRID_CONNECT_REQUEST_LEN
The maximum length of a valid connect request. It could be shorter if it contains a port number instead of a service ID.