wintun

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndOpenTunDevice

func CreateAndOpenTunDevice(name string, mtu int) (io.ReadWriteCloser, error)

Types

type WinTunDevice

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

func (WinTunDevice) Close

func (d WinTunDevice) Close() (err error)

func (WinTunDevice) Read

func (d WinTunDevice) Read(p []byte) (n int, err error)

func (WinTunDevice) Write

func (d WinTunDevice) 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