Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getIsatapIPv4Address (0.11 sec)

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

          assertTrue(InetAddresses.isIsatapAddress((Inet6Address) ip));
          assertEquals(
              "checking '" + validIsatapAddress + "'",
              ipv4,
              InetAddresses.getIsatapIPv4Address((Inet6Address) ip));
        }
        for (String nonIsatapAddress : nonIsatapAddresses) {
          InetAddress ip = InetAddresses.forString(nonIsatapAddress);
          assertFalse(InetAddresses.isIsatapAddress((Inet6Address) ip));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. 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));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. 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));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top