type net/netip.Prefix

37 uses

	net/netip (current package)
		netip.go#L675: func (ip Addr) Prefix(b int) (Prefix, error) {
		netip.go#L677: 		return Prefix{}, errors.New("negative Prefix bits")
		netip.go#L682: 		return Prefix{}, nil
		netip.go#L685: 			return Prefix{}, errors.New("prefix length " + itoa.Itoa(b) + " too large for IPv4")
		netip.go#L690: 			return Prefix{}, errors.New("prefix length " + itoa.Itoa(b) + " too large for IPv6")
		netip.go#L1259: type Prefix struct {
		netip.go#L1275: func PrefixFrom(ip Addr, bits int) Prefix {
		netip.go#L1280: 	return Prefix{
		netip.go#L1287: func (p Prefix) Addr() Addr { return p.ip }
		netip.go#L1292: func (p Prefix) Bits() int { return int(p.bitsPlusOne) - 1 }
		netip.go#L1297: func (p Prefix) IsValid() bool { return p.bitsPlusOne > 0 }
		netip.go#L1299: func (p Prefix) isZero() bool { return p == Prefix{} }
		netip.go#L1302: func (p Prefix) IsSingleIP() bool { return p.IsValid() && p.Bits() == p.ip.BitLen() }
		netip.go#L1312: func (p Prefix) compare(p2 Prefix) int {
		netip.go#L1338: func ParsePrefix(s string) (Prefix, error) {
		netip.go#L1341: 		return Prefix{}, parsePrefixError{in: s, msg: "no '/'"}
		netip.go#L1345: 		return Prefix{}, parsePrefixError{in: s, msg: err.Error()}
		netip.go#L1349: 		return Prefix{}, parsePrefixError{in: s, msg: "IPv6 zones cannot be present in a prefix"}
		netip.go#L1356: 		return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
		netip.go#L1361: 		return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
		netip.go#L1368: 		return Prefix{}, parsePrefixError{in: s, msg: "prefix length out of range"}
		netip.go#L1375: func MustParsePrefix(s string) Prefix {
		netip.go#L1387: func (p Prefix) Masked() Prefix {
		netip.go#L1399: func (p Prefix) Contains(ip Addr) bool {
		netip.go#L1429: func (p Prefix) Overlaps(o Prefix) bool {
		netip.go#L1465: func (p Prefix) AppendTo(b []byte) []byte {
		netip.go#L1493: func (p Prefix) MarshalText() ([]byte, error) {
		netip.go#L1510: func (p *Prefix) UnmarshalText(text []byte) error {
		netip.go#L1512: 		*p = Prefix{}
		netip.go#L1523: func (p Prefix) MarshalBinary() ([]byte, error) {
		netip.go#L1531: func (p *Prefix) UnmarshalBinary(b []byte) error {
		netip.go#L1545: func (p Prefix) String() string {

	net
		addrselect.go#L219: 	Prefix     netip.Prefix