gvisor

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2025 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GvisorCard

type GvisorCard struct {
	Stack  *stack.Stack
	Config nic.Config
	// contains filtered or unexported fields
}

func (*GvisorCard) Close

func (g *GvisorCard) Close() error

func (*GvisorCard) DialContext

func (g *GvisorCard) DialContext(ctx context.Context, network, address string) (net.Conn, error)

func (*GvisorCard) Listen

func (g *GvisorCard) Listen(ctx context.Context, network string, port uint16) (l net.Listener, err error)

func (*GvisorCard) Read

func (g *GvisorCard) Read() (*nic.Packet, error)

func (*GvisorCard) Write

func (g *GvisorCard) Write(p *nic.Packet) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL