func net/netip.PrefixFrom

13 uses

	net/netip (current package)
		netip.go#L661: 	return PrefixFrom(ip, b), nil
		netip.go#L1240: func PrefixFrom(ip Addr, bits int) Prefix {
		netip.go#L1302: 	return PrefixFrom(ip, bits), nil
		netip.go#L1472: 	*p = PrefixFrom(addr, int(b[len(b)-1]))

	net
		addrselect.go#L231: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01}), 128),
		addrselect.go#L238: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff}), 96),
		addrselect.go#L244: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{}), 96),
		addrselect.go#L251: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0x20, 0x01}), 32),
		addrselect.go#L258: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0x20, 0x02}), 16),
		addrselect.go#L264: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0x3f, 0xfe}), 16),
		addrselect.go#L270: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0xfe, 0xc0}), 10),
		addrselect.go#L276: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0xfc}), 7),
		addrselect.go#L282: 		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{}), 0),