tun

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	tunConf *C.Tun,
	tcpIn chan<- C.ConnContext,
	udpIn chan<- *inbound.PacketAdapter,
	tunChangeCallback C.TUNChangeCallback,
) (ipstack.Stack, error)

New TunAdapter

Types

This section is empty.

Directories

Path Synopsis
iobased
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
tun
Package tun provides TUN which implemented device.Device interface.
Package tun provides TUN which implemented device.Device interface.
gvisor
Package gvisor provides a thin wrapper around a gVisor's stack.
Package gvisor provides a thin wrapper around a gVisor's stack.

Jump to

Keyboard shortcuts

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