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 ) ; }
Evaluates whether the argument is a Teredo address .