tun

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TunTap

type TunTap interface {
	Name() string
	io.ReadWriteCloser
}

func OpenTap

func OpenTap(name TunTapName) (TunTap, error)

func OpenTun

func OpenTun(name TunTapName) (TunTap, error)

type TunTapName

type TunTapName string

func NewTapName

func NewTapName() TunTapName

func NewTunName

func NewTunName() TunTapName

func TunTapNameFromString

func TunTapNameFromString(s string) TunTapName

func (TunTapName) String

func (n TunTapName) String() string

Jump to

Keyboard shortcuts

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