package
0.0.0-20241112080837-97b903613cec
Repository: https://github.com/deepin-community/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.