net.IPNet.IP (field)

15 uses

	net (current package)
		interface_linux.go#L195: 			return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)}
		interface_linux.go#L197: 			ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv6len)}
		interface_linux.go#L198: 			copy(ifa.IP, a.Value[:])
		ip.go#L46: 	IP   IP     // network number
		ip.go#L425: 	if ip = n.IP.To4(); ip == nil {
		ip.go#L426: 		ip = n.IP
		ip.go#L535: 	return IP(addr16[:]), &IPNet{IP: IP(addr16[:]).Mask(m), Mask: m}, nil
		sockopt_posix.go#L40: 				if ip.Equal(v.IP) {
		sockopt_posix.go#L67: 			if v.IP.To4() != nil {
		sockopt_posix.go#L68: 				return v.IP, nil
		sockopt_posix.go#L91: 			if a := v.IP.To4(); a != nil {

	crypto/x509
		parser.go#L575: 				ips = append(ips, &net.IPNet{IP: net.IP(ip), Mask: net.IPMask(mask)})
		verify.go#L441: 	if len(ip) != len(constraint.IP) {
		verify.go#L446: 		if mask := constraint.Mask[i]; ip[i]&mask != constraint.IP[i]&mask {
		x509.go#L1198: 			maskedIP := ipNet.IP.Mask(ipNet.Mask)