type net/netip.Addr

115 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#L195: func parseIPv4(s string) (ip Addr, err error) {
		netip.go#L199: 		return Addr{}, err
		netip.go#L205: func parseIPv6(in string) (Addr, error) {
		netip.go#L218: 			return Addr{}, parseAddrError{in: in, msg: "zone must be a non-empty string"}
		netip.go#L255: 				return Addr{}, parseAddrError{in: in, msg: "each group must have 4 or less digits", at: s}
		netip.go#L259: 				return Addr{}, parseAddrError{in: in, msg: "IPv6 field has value >=2^16", at: s}
		netip.go#L264: 			return Addr{}, parseAddrError{in: in, msg: "each colon-separated field must have at least one digit", at: s}
		netip.go#L271: 				return Addr{}, parseAddrError{in: in, msg: "embedded IPv4 address must replace the final 2 fields of the address", at: s}
		netip.go#L275: 				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#L284: 				return Addr{}, err
		netip.go#L304: 			return Addr{}, parseAddrError{in: in, msg: "unexpected character, want colon", at: s}
		netip.go#L306: 			return Addr{}, parseAddrError{in: in, msg: "colon must be followed by more characters", at: s}
		netip.go#L313: 				return Addr{}, parseAddrError{in: in, msg: "multiple :: in address", at: s}
		netip.go#L325: 		return Addr{}, parseAddrError{in: in, msg: "trailing garbage after address", at: s}
		netip.go#L331: 			return Addr{}, parseAddrError{in: in, msg: "address string too short"}
		netip.go#L340: 		return Addr{}, parseAddrError{in: in, msg: "the :: must expand to at least one field of zeros"}
		netip.go#L348: func AddrFromSlice(slice []byte) (ip Addr, ok bool) {
		netip.go#L355: 	return Addr{}, false
		netip.go#L360: func (ip Addr) v4(i uint8) uint8 {
		netip.go#L366: func (ip Addr) v6(i uint8) uint8 {
		netip.go#L372: func (ip Addr) v6u16(i uint8) uint16 {
		netip.go#L381: func (ip Addr) isZero() bool {
		netip.go#L390: func (ip Addr) IsValid() bool { return ip.z != z0 }
		netip.go#L397: func (ip Addr) BitLen() int {
		netip.go#L408: func (ip Addr) Zone() string {
		netip.go#L418: func (ip Addr) Compare(ip2 Addr) int {
		netip.go#L455: func (ip Addr) Less(ip2 Addr) bool { return ip.Compare(ip2) == -1 }
		netip.go#L460: func (ip Addr) Is4() bool {
		netip.go#L467: func (ip Addr) Is4In6() bool {
		netip.go#L473: func (ip Addr) Is6() bool {
		netip.go#L481: func (ip Addr) Unmap() Addr {
		netip.go#L491: func (ip Addr) WithZone(zone string) Addr {
		netip.go#L505: func (ip Addr) withoutZone() Addr {
		netip.go#L514: func (ip Addr) hasZone() bool {
		netip.go#L519: func (ip Addr) IsLinkLocalUnicast() bool {
		netip.go#L538: func (ip Addr) IsLoopback() bool {
		netip.go#L557: func (ip Addr) IsMulticast() bool {
		netip.go#L577: func (ip Addr) IsInterfaceLocalMulticast() bool {
		netip.go#L587: func (ip Addr) IsLinkLocalMulticast() bool {
		netip.go#L614: func (ip Addr) IsGlobalUnicast() bool {
		netip.go#L640: func (ip Addr) IsPrivate() bool {
		netip.go#L667: func (ip Addr) IsUnspecified() bool {
		netip.go#L676: func (ip Addr) Prefix(b int) (Prefix, error) {
		netip.go#L703: func (ip Addr) As16() (a16 [16]byte) {
		netip.go#L712: func (ip Addr) As4() (a4 [4]byte) {
		netip.go#L724: func (ip Addr) AsSlice() []byte {
		netip.go#L742: func (ip Addr) Next() Addr {
		netip.go#L747: 			return Addr{}
		netip.go#L752: 			return Addr{}
		netip.go#L760: func (ip Addr) Prev() Addr {
		netip.go#L763: 			return Addr{}
		netip.go#L766: 		return Addr{}
		netip.go#L784: func (ip Addr) String() string {
		netip.go#L801: func (ip Addr) AppendTo(b []byte) []byte {
		netip.go#L855: func (ip Addr) string4() string {
		netip.go#L862: func (ip Addr) appendTo4(ret []byte) []byte {
		netip.go#L873: func (ip Addr) string4In6() string {
		netip.go#L880: func (ip Addr) appendTo4In6(ret []byte) []byte {
		netip.go#L895: func (ip Addr) string6() string {
		netip.go#L909: func (ip Addr) appendTo6(ret []byte) []byte {
		netip.go#L945: func (ip Addr) StringExpanded() string {
		netip.go#L972: func (ip Addr) AppendText(b []byte) ([]byte, error) {
		netip.go#L979: func (ip Addr) MarshalText() ([]byte, error) {
		netip.go#L1003: func (ip *Addr) UnmarshalText(text []byte) error {
		netip.go#L1005: 		*ip = Addr{}
		netip.go#L1014: func (ip Addr) AppendBinary(b []byte) ([]byte, error) {
		netip.go#L1027: func (ip Addr) marshalBinarySize() int {
		netip.go#L1042: func (ip Addr) MarshalBinary() ([]byte, error) {
		netip.go#L1048: func (ip *Addr) UnmarshalBinary(b []byte) error {
		netip.go#L1052: 		*ip = Addr{}
		netip.go#L1069: 	ip   Addr
		netip.go#L1075: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
		netip.go#L1078: func (p AddrPort) Addr() Addr { return p.ip }
		netip.go#L1274: 	var addr Addr
		netip.go#L1288: 	ip Addr
		netip.go#L1303: func PrefixFrom(ip Addr, bits int) Prefix {
		netip.go#L1315: func (p Prefix) Addr() Addr { return p.ip }
		netip.go#L1429: func (p Prefix) Contains(ip Addr) bool {
		netip.go#L1581: 	var addr Addr

	net
		addrselect.go#L21: func sortByRFC6724withSrcs(addrs []IPAddr, srcs []netip.Addr) {
		addrselect.go#L44: func srcAddrs(addrs []IPAddr) []netip.Addr {
		addrselect.go#L45: 	srcs := make([]netip.Addr, len(addrs))
		addrselect.go#L67: func ipAttrOf(ip netip.Addr) ipAttr {
		addrselect.go#L82: 	src      netip.Addr
		addrselect.go#L283: func (t policyTable) Classify(ip netip.Addr) policyTableEntry {
		addrselect.go#L308: func classifyScope(ip netip.Addr) scope {
		addrselect.go#L335: func commonPrefixLen(a netip.Addr, b IP) (cpl int) {
		dial.go#L631: func (d *Dialer) DialIP(ctx context.Context, network string, laddr netip.Addr, raddr netip.Addr) (*IPConn, error) {
		iprawsock.go#L34: func ipAddrFromAddr(addr netip.Addr) *IPAddr {
		lookup.go#L258: func (r *Resolver) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) {
		lookup.go#L267: 	ret := make([]netip.Addr, 0, len(ips))
		udpsock_posix.go#L73: 	var ip netip.Addr