package
2.0.8+incompatible
Repository: https://github.com/etherzero-org/go-etherzero.git
Documentation: pkg.go.dev

# Functions

CheckRelayIP reports whether an IP relayed from the given sender IP is a valid connection target.
IsLAN reports whether an IP is a local network address.
IsSpecialNetwork reports whether an IP is located in a special-use network range This includes broadcast, multicast and documentation addresses.
IsTemporaryError checks whether the given error should be considered temporary.
NewIPTracker creates an IP tracker.
ParseNetlist parses a comma-separated list of CIDR masks.
SameNet reports whether two IP addresses have an equal prefix of the given bit length.

# Structs

DistinctNetSet tracks IPs, ensuring that at most N of them fall into the same network range.
IPTracker predicts the external endpoint, i.e.

# Type aliases

Netlist is a list of IP networks.