Versions in this module Expand all Collapse all v2 v2.0.1 Apr 10, 2024 Changes in this version + func AddrToBits(addr netip.Addr) (int, error) + type Prefix struct + func (p Prefix) BroadcastAddr() (netip.Addr, error) + func (p Prefix) GetAll() ([]Prefix, error) + func (p Prefix) Hosts() ([]netip.Addr, error) + func (p Prefix) HostsCount() (int, error) + func (p Prefix) Mask() (netip.Addr, error) + func (p Prefix) NetworkAddr() (netip.Addr, error)