type net/netip.Addr

112 uses

	net/netip (current package)
		netip.go#L37: type Addr struct {
		netip.go#L75: func IPv6LinkLocalAllNodes() Addr { return AddrFrom16([16]byte{0: 0xff, 1: 0x02, 15: 0x01}) }
		netip.go#L79: func IPv6LinkLocalAllRouters() Addr { return AddrFrom16([16]byte{0: 0xff, 1: 0x02, 15: 0x02}) }
		netip.go#L82: func IPv6Loopback() Addr { return AddrFrom16([16]byte{15: 0x01}) }
		netip.go#L85: func IPv6Unspecified() Addr { return Addr{z: z6noz} }
		netip.go#L88: func IPv4Unspecified() Addr { return AddrFrom4([4]byte{}) }
		netip.go#L91: func AddrFrom4(addr [4]byte) Addr {
		netip.go#L92: 	return Addr{
		netip.go#L101: func AddrFrom16(addr [16]byte) Addr {
		netip.go#L102: 	return Addr{
		netip.go#L114: func ParseAddr(s string) (Addr, error) {
		netip.go#L124: 			return Addr{}, parseAddrError{in: s, msg: "missing IPv6 address"}
		netip.go#L127: 	return Addr{}, parseAddrError{in: s, msg: "unable to parse IP"}
		netip.go#L132: func MustParseAddr(s string) Addr {
		netip.go#L155: func parseIPv4(s string) (ip Addr, err error) {
		netip.go#L162: 				return Addr{}, parseAddrError{in: s, msg: "IPv4 field has octet with leading zero"}
		netip.go#L167: 				return Addr{}, parseAddrError{in: s, msg: "IPv4 field has value >255"}
		netip.go#L174: 				return Addr{}, parseAddrError{in: s, msg: "IPv4 field must have at least one digit", at: s[i:]}
		netip.go#L178: 				return Addr{}, parseAddrError{in: s, msg: "IPv4 address too long"}
		netip.go#L185: 			return Addr{}, parseAddrError{in: s, msg: "unexpected character", at: s[i:]}
		netip.go#L189: 		return Addr{}, parseAddrError{in: s, msg: "IPv4 address too short"}
		netip.go#L196: func parseIPv6(in string) (Addr, error) {
		netip.go#L209: 			return Addr{}, parseAddrError{in: in, msg: "zone must be a non-empty string"}
		netip.go#L246: 				return Addr{}, parseAddrError{in: in, msg: "IPv6 field has value >=2^16", at: s}
		netip.go#L251: 			return Addr{}, parseAddrError{in: in, msg: "each colon-separated field must have at least one digit", at: s}
		netip.go#L258: 				return Addr{}, parseAddrError{in: in, msg: "embedded IPv4 address must replace the final 2 fields of the address", at: s}
		netip.go#L262: 				return Addr{}, parseAddrError{in: in, msg: "too many hex fields to fit an embedded IPv4 at the end of the address", at: s}
		netip.go#L269: 				return Addr{}, parseAddrError{in: in, msg: err.Error(), at: s}
		netip.go#L293: 			return Addr{}, parseAddrError{in: in, msg: "unexpected character, want colon", at: s}
		netip.go#L295: 			return Addr{}, parseAddrError{in: in, msg: "colon must be followed by more characters", at: s}
		netip.go#L302: 				return Addr{}, parseAddrError{in: in, msg: "multiple :: in address", at: s}
		netip.go#L314: 		return Addr{}, parseAddrError{in: in, msg: "trailing garbage after address", at: s}
		netip.go#L320: 			return Addr{}, parseAddrError{in: in, msg: "address string too short"}
		netip.go#L331: 		return Addr{}, parseAddrError{in: in, msg: "the :: must expand to at least one field of zeros"}
		netip.go#L339: func AddrFromSlice(slice []byte) (ip Addr, ok bool) {
		netip.go#L346: 	return Addr{}, false
		netip.go#L351: func (ip Addr) v4(i uint8) uint8 {
		netip.go#L357: func (ip Addr) v6(i uint8) uint8 {
		netip.go#L363: func (ip Addr) v6u16(i uint8) uint16 {
		netip.go#L372: func (ip Addr) isZero() bool {
		netip.go#L381: func (ip Addr) IsValid() bool { return ip.z != z0 }
		netip.go#L388: func (ip Addr) BitLen() int {
		netip.go#L399: func (ip Addr) Zone() string {
		netip.go#L410: func (ip Addr) Compare(ip2 Addr) int {
		netip.go#L447: func (ip Addr) Less(ip2 Addr) bool { return ip.Compare(ip2) == -1 }
		netip.go#L452: func (ip Addr) Is4() bool {
		netip.go#L457: func (ip Addr) Is4In6() bool {
		netip.go#L463: func (ip Addr) Is6() bool {
		netip.go#L471: func (ip Addr) Unmap() Addr {
		netip.go#L481: func (ip Addr) WithZone(zone string) Addr {
		netip.go#L495: func (ip Addr) withoutZone() Addr {
		netip.go#L504: func (ip Addr) hasZone() bool {
		netip.go#L509: func (ip Addr) IsLinkLocalUnicast() bool {
		netip.go#L524: func (ip Addr) IsLoopback() bool {
		netip.go#L539: func (ip Addr) IsMulticast() bool {
		netip.go#L555: func (ip Addr) IsInterfaceLocalMulticast() bool {
		netip.go#L565: func (ip Addr) IsLinkLocalMulticast() bool {
		netip.go#L588: func (ip Addr) IsGlobalUnicast() bool {
		netip.go#L610: func (ip Addr) IsPrivate() bool {
		netip.go#L633: func (ip Addr) IsUnspecified() bool {
		netip.go#L642: func (ip Addr) Prefix(b int) (Prefix, error) {
		netip.go#L674: func (ip Addr) As16() (a16 [16]byte) {
		netip.go#L683: func (ip Addr) As4() (a4 [4]byte) {
		netip.go#L695: func (ip Addr) AsSlice() []byte {
		netip.go#L713: func (ip Addr) Next() Addr {
		netip.go#L718: 			return Addr{}
		netip.go#L723: 			return Addr{}
		netip.go#L731: func (ip Addr) Prev() Addr {
		netip.go#L734: 			return Addr{}
		netip.go#L737: 		return Addr{}
		netip.go#L755: func (ip Addr) String() string {
		netip.go#L776: func (ip Addr) AppendTo(b []byte) []byte {
		netip.go#L836: func (ip Addr) string4() string {
		netip.go#L843: func (ip Addr) appendTo4(ret []byte) []byte {
		netip.go#L859: func (ip Addr) string6() string {
		netip.go#L873: func (ip Addr) appendTo6(ret []byte) []byte {
		netip.go#L909: func (ip Addr) StringExpanded() string {
		netip.go#L937: func (ip Addr) MarshalText() ([]byte, error) {
		netip.go#L967: func (ip *Addr) UnmarshalText(text []byte) error {
		netip.go#L969: 		*ip = Addr{}
		netip.go#L977: func (ip Addr) marshalBinaryWithTrailingBytes(trailingBytes int) []byte {
		netip.go#L999: func (ip Addr) MarshalBinary() ([]byte, error) {
		netip.go#L1005: func (ip *Addr) UnmarshalBinary(b []byte) error {
		netip.go#L1009: 		*ip = Addr{}
		netip.go#L1026: 	ip   Addr
		netip.go#L1032: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
		netip.go#L1035: func (p AddrPort) Addr() Addr { return p.ip }
		netip.go#L1211: 	var addr Addr
		netip.go#L1225: 	ip Addr
		netip.go#L1240: func PrefixFrom(ip Addr, bits int) Prefix {
		netip.go#L1252: func (p Prefix) Addr() Addr { return p.ip }
		netip.go#L1331: func (p Prefix) Contains(ip Addr) bool {
		netip.go#L1467: 	var addr Addr

	net
		addrselect.go#L21: func sortByRFC6724withSrcs(addrs []IPAddr, srcs []netip.Addr) {
		addrselect.go#L43: func srcAddrs(addrs []IPAddr) []netip.Addr {
		addrselect.go#L44: 	srcs := make([]netip.Addr, len(addrs))
		addrselect.go#L66: func ipAttrOf(ip netip.Addr) ipAttr {
		addrselect.go#L81: 	srcs     []netip.Addr // or not valid addr if unreachable
		addrselect.go#L291: func (t policyTable) Classify(ip netip.Addr) policyTableEntry {
		addrselect.go#L316: func classifyScope(ip netip.Addr) scope {
		addrselect.go#L343: func commonPrefixLen(a netip.Addr, b IP) (cpl int) {
		lookup.go#L247: func (r *Resolver) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) {
		lookup.go#L256: 	ret := make([]netip.Addr, 0, len(ips))
		udpsock_posix.go#L73: 	var ip netip.Addr