net.IPAddr.Zone (field)
16 uses
net (current package)
addrselect.go#L48: dst.Zone = addrs[i].Zone
cgo_unix.go#L206: addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))}
dnsclient_unix.go#L579: addr := IPAddr{IP: ip, Zone: zone}
iprawsock.go#L33: Zone string // IPv6 scoped addressing zone
iprawsock.go#L44: if a.Zone != "" {
iprawsock.go#L45: return ip + "%" + a.Zone
iprawsock_posix.go#L19: return &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
iprawsock_posix.go#L38: return ipToSockaddr(family, a.IP, 0, a.Zone)
iprawsock_posix.go#L42: return &IPAddr{loopbackIP(net), a.Zone}
iprawsock_posix.go#L55: addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
iprawsock_posix.go#L82: addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
ipsock.go#L274: return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
ipsock.go#L276: return &UDPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
ipsock.go#L278: return &IPAddr{IP: ip.IP, Zone: ip.Zone}
lookup.go#L300: return []IPAddr{{IP: IP(ip.AsSlice()).To16(), Zone: ip.Zone()}}, nil
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |