package
Version:
v0.0.0-...-5ab0ef6
Opens a new window with list of versions in this module.
Published: May 28, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func ContextID() (uint32, error)
-
func Listen(cid, port uint32) (net.Listener, error)
-
func NewVSock(s string, d proxy.Dialer, p proxy.Proxy) (*vsock, error)
-
func NewVSockDialer(s string, d proxy.Dialer) (proxy.Dialer, error)
-
func NewVSockServer(s string, p proxy.Proxy) (proxy.Server, error)
-
func SocketMode(m string)
-
type Addr
-
type Conn
ContextID retrieves the local context ID for this system.
Listen returns a net.Listener which can accept connections on the given cid and port.
NewVSock returns vm socket proxy.
NewVSockDialer returns a vm socket dialer.
NewVSockServer returns a vm socket server.
SocketMode is a NOOP on Linux.
Addr represents the address of a vsock end point.
Network returns the network type for a Addr
String returns a string representation of a Addr
Conn is a vsock connection which supports half-close.
Dial connects to the CID.Port via virtio sockets.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.