net/netip.Addr.WithZone (method)
8 uses
net/netip (current package)
netip.go#L228: return IPv6Unspecified().WithZone(zone), nil
netip.go#L339: return AddrFrom16(ip).WithZone(zone), nil
netip.go#L489: func (ip Addr) WithZone(zone string) Addr {
netip.go#L1027: *ip = ipv6Slice(b[:16]).WithZone(string(b[16:]))
net
tcpsock.go#L37: na = na.WithZone(a.Zone)
udpsock.go#L40: na = na.WithZone(a.Zone)
udpsock_posix.go#L87: ip = netip.AddrFrom16(from.Addr).WithZone(zoneCache.name(int(from.ZoneId)))
udpsock_posix.go#L107: ip := netip.AddrFrom16(sa.Addr).WithZone(zoneCache.name(int(sa.ZoneId)))
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)