net.IPAddr.IP (field)

43 uses

	net (current package)
		addrselect.go#L28: 		addrAttrIP, _ := netip.AddrFromSlice(v.IP)
		addrselect.go#L47: 		dst.IP = addrs[i].IP
		addrselect.go#L99: 	DA := s.addrs[i].IP
		addrselect.go#L100: 	DB := s.addrs[j].IP
		cgo_unix.go#L202: 			addr := IPAddr{IP: copyIP(sa.Addr[:])}
		cgo_unix.go#L206: 			addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))}
		dial.go#L320: 			if !wildcard && !addr.isWildcard() && !addr.IP.matchAddrFamily(ip.IP) {
		dnsclient_unix.go#L579: 			addr := IPAddr{IP: ip, Zone: zone}
		dnsclient_unix.go#L721: 					addrs = append(addrs, IPAddr{IP: IP(a.A[:])})
		dnsclient_unix.go#L736: 					addrs = append(addrs, IPAddr{IP: IP(aaaa.AAAA[:])})
		interface_linux.go#L242: 				ifma := &IPAddr{IP: IPv4(byte(i>>24), byte(i>>16), byte(i>>8), byte(i))}
		interface_linux.go#L267: 			ifma := &IPAddr{IP: IP{b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7], b[8], b[9], b[10], b[11], b[12], b[13], b[14], b[15]}}
		iprawsock.go#L32: 	IP   IP
		iprawsock.go#L43: 	ip := ipEmptyString(a.IP)
		iprawsock.go#L51: 	if a == nil || a.IP == nil {
		iprawsock.go#L54: 	return a.IP.IsUnspecified()
		iprawsock_posix.go#L17: 		return &IPAddr{IP: sa.Addr[0:]}
		iprawsock_posix.go#L19: 		return &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
		iprawsock_posix.go#L25: 	if a == nil || len(a.IP) <= IPv4len {
		iprawsock_posix.go#L28: 	if a.IP.To4() != nil {
		iprawsock_posix.go#L38: 	return ipToSockaddr(family, a.IP, 0, a.Zone)
		iprawsock_posix.go#L52: 		addr = &IPAddr{IP: sa.Addr[0:]}
		iprawsock_posix.go#L55: 		addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
		iprawsock_posix.go#L80: 		addr = &IPAddr{IP: sa.Addr[0:]}
		iprawsock_posix.go#L82: 		addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
		ipsock.go#L70: 		return addr.IP.To4() != nil
		ipsock.go#L147: 	return addr.IP.To4() != nil
		ipsock.go#L152: 	return len(addr.IP) == IPv6len && addr.IP.To4() == nil
		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}
		ipsock.go#L296: 	if len(ips) == 1 && ips[0].IP.Equal(IPv6unspecified) {
		ipsock.go#L297: 		ips = append(ips, IPAddr{IP: IPv4zero})
		lookup.go#L202: 		ips[i] = ia.IP
		lookup.go#L238: 		ips = append(ips, addr.(*IPAddr).IP)
		lookup.go#L300: 		return []IPAddr{{IP: IP(ip.AsSlice()).To16(), Zone: ip.Zone()}}, nil
		sockopt_posix.go#L36: 				if ip.Equal(v.IP) {
		sockopt_posix.go#L63: 			if v.IP.To4() != nil {
		sockopt_posix.go#L64: 				return v.IP, nil
		sockopt_posix.go#L86: 			if a := v.IP.To4(); a != nil {