net/netip.Addr.WithZone (method)
8 uses
net/netip (current package)
netip.go#L232: return IPv6Unspecified().WithZone(zone), nil
netip.go#L343: return AddrFrom16(ip).WithZone(zone), nil
netip.go#L492: func (ip Addr) WithZone(zone string) Addr {
netip.go#L1062: *ip = AddrFrom16([16]byte(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.7.6. (GOOS=linux GOARCH=amd64)