Lines Matching refs:ipv6
30 // ipv6LinkLocalUnicastAddr returns an IPv6 link-local unicast address
121 uniStats.ipv6 += stats.ipv6
153 multiStats.ipv6 += stats.ipv6
180 ipv4, ipv6 int // # of active connected unicast, anycast or multicast routes
184 // Note: BSD variants allow assigning any IPv4/IPv6 address
198 return nil, fmt.Errorf("should be internal representation either IPv6 or IPv4-mapped IPv6 address: %#v", ifa)
217 stats.ipv6++
224 return nil, fmt.Errorf("should be internal representation either IPv6 or IPv4-mapped IPv6 address: %#v", ifa)
230 stats.ipv6++
248 return nil, fmt.Errorf("should be internal representation either IPv6 or IPv4-mapped IPv6 address: %#v", ifa)
254 stats.ipv6++
268 // Test the existence of connected unicast routes for IPv6.
271 if supportsIPv6 && ifStats.loop > 0 && uniStats.ipv6 == 0 {
272 return fmt.Errorf("num IPv6 unicast routes = 0; want >0; summary: %+v, %+v", ifStats, uniStats)
282 // clones for IPv4. Unlike IPv6, IPv4 multicast
285 // IPv6 below.
288 // clones for IPv6. Some platform never uses loopback
293 if supportsIPv6 && ifStats.loop > 0 && uniStats.ipv6 > 1 && multiStats.ipv6 == 0 {
294 return fmt.Errorf("num IPv6 multicast route clones = 0; want >0; summary: %+v, %+v, %+v", ifStats, uniStats, multiStats)