Expand description
Provides helper functions for bridging between vsock/hvsocket and Unix domain sockets, utilized by VMBus-based hvsocket and virtio-vsock.
Enums§
- Parse
Error - Error returned by
VsockPortOrId::parse_connect_request. - UdsPath
Error - Error returned by
VsockPortOrId::host_uds_path. - Vsock
Port OrId - 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.