autopeer

package
v0.14.11 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package autopeer provides code to compute a peer's automatic IPv6-LL address derived from its public key.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoAddress

func AutoAddress(key wgtypes.Key) net.IP

AutoAddress returns the IPv6 link-local address that should be assigned to peer based on its public key

func AutoAddressNet added in v0.7.0

func AutoAddressNet(key wgtypes.Key) net.IPNet

AutoAddressNet returns the peer's AutoAddress with a /128 netmask

Types

This section is empty.

Jump to

Keyboard shortcuts

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