package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.git
Documentation: pkg.go.dev

# Functions

AddrPortFromNet converts a net.Addr into a netip.AddrPort.
HostID masks out the 'bits' most-significant bits of addr.
SubnetRange returns the amount to add to network.Addr() in order to yield the first and last addresses in subnet, respectively.
ToIPNet converts p into a *net.IPNet, returning nil if p is not valid.
ToPrefix converts n into a netip.Prefix.