net/netip.AddrPort.Addr (method)

10 uses

	net/netip (current package)
		netip.go#L1035: func (p AddrPort) Addr() Addr { return p.ip }
		netip.go#L1200: 	b := p.Addr().marshalBinaryWithTrailingBytes(2)

	net
		ipsock_posix.go#L204: 	addr := ap.Addr()
		ipsock_posix.go#L222: 	addr := ap.Addr()
		tcpsock.go#L104: 		IP:   addr.Addr().AsSlice(),
		tcpsock.go#L105: 		Zone: addr.Addr().Zone(),
		udpsock.go#L107: 		IP:   addr.Addr().AsSlice(),
		udpsock.go#L108: 		Zone: addr.Addr().Zone(),
		udpsock_posix.go#L161: 		return 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
		udpsock_posix.go#L201: 		return 0, 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}