Lines Matching refs:ip6
116 var ip4, ip6 IP
121 if ip6 == nil && ip.To16() != nil && ip.To4() == nil {
122 ip6 = ip.To16()
124 if ip4 != nil && ip6 != nil {
136 if ip6 != nil {
139 literalAddrs6[i] = fmt.Sprintf(lit6, ip6[0], ip6[1], ip6[2], ip6[3], ip6[4], ip6[5], ip6[6], ip6[7], ip6[8], ip6[9], ip6[10], ip6[11], ip6[12], ip6[13], ip6[14], ip6[15])