Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isTeredoAddress (0.06 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param ip {@link Inet6Address} to be examined for Teredo address format
       * @return {@code true} if the argument is a Teredo address
       */
      public static boolean isTeredoAddress(Inet6Address ip) {
        byte[] bytes = ip.getAddress();
        return (bytes[0] == (byte) 0x20)
            && (bytes[1] == (byte) 0x01)
            && (bytes[2] == 0)
            && (bytes[3] == 0);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param ip {@link Inet6Address} to be examined for Teredo address format
       * @return {@code true} if the argument is a Teredo address
       */
      public static boolean isTeredoAddress(Inet6Address ip) {
        byte[] bytes = ip.getAddress();
        return (bytes[0] == (byte) 0x20)
            && (bytes[1] == (byte) 0x01)
            && (bytes[2] == 0)
            && (bytes[3] == 0);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top