public boolean isWellKnownIPv4Translatable ( ) { //rfc 6052 rfc 6144 //64:ff9b::/96 prefix for auto ipv4/ipv6 translation if ( getSegment ( 0 ) . matches ( 0x64 ) && getSegment ( 1 ) . matches ( 0xff9b ) ) { for ( int i = 2 ; i <= 5 ; i ++ ) { if ( ! getSegment ( i ) . isZero ( ) ) { return false ; } } return true ; } return false ; }
Whether the address has the well - known prefix for IPv4 translatable addresses as in rfc 6052 and 6144