tun

package
v0.0.0-...-26ee366 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TUN_OFFSET_BYTES = 4

Variables

This section is empty.

Functions

func AddressForPublicKey

func AddressForPublicKey(pk types.PublicKey) net.IP

func PublicKeyForAddress

func PublicKeyForAddress(a net.IP) types.PublicKey

Types

type TUN

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

func NewTUN

func NewTUN(r *router.Router) (*TUN, error)

Jump to

Keyboard shortcuts

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