vmnet

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnableToStart = errors.New("vmnet: unable to start")
)

Functions

This section is empty.

Types

type VMNet

type VMNet struct {
	io.ReadWriter

	MaxPacketSize int
	// contains filtered or unexported fields
}

func New

func New() *VMNet

func (*VMNet) Read

func (v *VMNet) Read(p []byte) (n int, err error)

func (*VMNet) Start

func (v *VMNet) Start() error

func (*VMNet) Stop

func (v *VMNet) Stop() error

func (*VMNet) Write

func (v *VMNet) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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