Lines Matching refs:ipv4
175 // Don't need to test IPv4 much; it just calls getHostAddress().
362 * from an "IPv4 mapped" IPv6 address. Our String-based method can
423 InetAddress ipv4 = InetAddresses.forString(ipv4Str);
426 assertEquals(ipv4, InetAddresses.get6to4IPv4Address((Inet6Address) ip));
471 InetAddress ipv4 = InetAddresses.forString("1.2.3.4");
492 assertEquals("checking '" + validIsatapAddresses[i] + "'", ipv4,
522 InetAddress ipv4 = InetAddresses.forString("1.2.3.4");
523 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
528 ipv4 = InetAddresses.forString("1.2.3.4");
529 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
535 ipv4 = InetAddresses.forString("192.0.2.45");
536 assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
540 // Check that a coerced IPv4 address is unaltered.
565 // 2 6to4 addresses differing in the embedded IPv4 address should
572 // 2 6to4 addresses NOT differing in the embedded IPv4 address should
585 // 2 Teredo addresses differing in the embedded IPv4 address should
594 // 2 Teredo addresses NOT differing in the embedded IPv4 address should