tuntap

package
v0.0.0-...-a7e2b7f Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IFF_NO_PI = 0x10
	IFF_TUN   = 0x01
	IFF_TAP   = 0x02
	TUNSETIFF = 0x400454CA
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tun

type Tun interface {
	io.Reader
	io.Writer
	io.Closer
	GetName() string
}

type TunTapF

type TunTapF interface {
	Remove() error
	NewTun(addr net.IP, network net.IP, mask net.IP) (Tun, error)
}

func NewTunTapF

func NewTunTapF() TunTapF

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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