net.UDPAddr.IP (field)
19 uses
net (current package)
dial.go#L310: if !wildcard && !addr.isWildcard() && !addr.IP.matchAddrFamily(tcp.IP) {
ipsock.go#L66: return addr.IP.To4() != nil
ipsock.go#L274: return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
ipsock_posix.go#L40: {laddr: TCPAddr{IP: ParseIP("::1")}, value: 1},
ipsock_posix.go#L42: {laddr: TCPAddr{IP: IPv4(127, 0, 0, 1)}, value: 0},
tcpsock.go#L22: IP IP
tcpsock.go#L36: na, _ := netip.AddrFromSlice(a.IP)
tcpsock.go#L48: ip := ipEmptyString(a.IP)
tcpsock.go#L56: if a == nil || a.IP == nil {
tcpsock.go#L59: return a.IP.IsUnspecified()
tcpsock.go#L104: IP: addr.Addr().AsSlice(),
tcpsock_posix.go#L19: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port}
tcpsock_posix.go#L21: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
tcpsock_posix.go#L27: if a == nil || len(a.IP) <= IPv4len {
tcpsock_posix.go#L30: if a.IP.To4() != nil {
tcpsock_posix.go#L40: return ipToSockaddr(family, a.IP, a.Port, a.Zone)
tcpsock_posix.go#L136: return l.Port == r.Port && l.IP.Equal(r.IP)
|
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. |