package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev

# Functions

AddrIP gets the IP address contained in addr.
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.
IsTimeout checks whether the given error is a timeout.
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.