Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getIsatapIPv4Address (0.18 seconds)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

          assertTrue(InetAddresses.isIsatapAddress((Inet6Address) ip));
          assertWithMessage("checking '%s'", validIsatapAddress)
              .that(InetAddresses.getIsatapIPv4Address((Inet6Address) ip))
              .isEqualTo(ipv4);
        }
        for (String nonIsatapAddress : nonIsatapAddresses) {
          InetAddress ip = InetAddresses.forString(nonIsatapAddress);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} of embedded IPv4 in an ISATAP address
       * @throws IllegalArgumentException if the argument is not a valid IPv6 ISATAP address
       */
      public static Inet4Address getIsatapIPv4Address(Inet6Address ip) {
        checkArgument(isIsatapAddress(ip), "Address '%s' is not an ISATAP address.", toAddrString(ip));
    
        return getInet4Address(Arrays.copyOfRange(ip.getAddress(), 12, 16));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
Back to Top