kdlib

package
v0.0.0-...-0d77ba8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsZeroEnding

func IsZeroEnding(ip netip.Addr) bool

IsZeroEnding - is last part zeroes.

func LastPrefixIPv4

func LastPrefixIPv4(p netip.Prefix) netip.Addr

LastPrefixIPv4 - last ip addr in the prefix.

func LastPrefixIPv6

func LastPrefixIPv6(p netip.Prefix) netip.Addr

LastPrefixIPv6 - last ip addr in the prefix.

func RandomAddrIPv4

func RandomAddrIPv4(p netip.Prefix) netip.Addr

RandomAddrIPv4 - random ipv4 addr inside prefix.

func RandomAddrIPv6

func RandomAddrIPv6(p netip.Prefix) netip.Addr

RandomAddrIPv6 - random ipv6 addr inside prefix.

func SanitizeFilename

func SanitizeFilename(name string) string

SanitizeFilename - prepare filename to wg client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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