devices

package
v0.0.0-...-8ec7c15 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TAPDevice

type TAPDevice struct {
	// contains filtered or unexported fields
}

func NewTAPDevice

func NewTAPDevice(deviceName string, maximumTransmissionUnit int) *TAPDevice

func (*TAPDevice) Open

func (d *TAPDevice) Open() error

func (*TAPDevice) Read

func (d *TAPDevice) Read() ([]byte, error)

func (*TAPDevice) Write

func (d *TAPDevice) Write(rawFrame []byte) error

Jump to

Keyboard shortcuts

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