Searched refs:optLen (Results 1 – 2 of 2) sorted by relevance
199 final int optLen = MSG_PREF64.length() / 2; // 1 byte = 2 hex chars in testTruncation() local200 for (int len = 0; len < optLen; len++) { in testTruncation()203 if (len < optLen) { in testTruncation()
641 int optLen = getUint8(mPacket, offset + 1) * 8; in rdnssOptionToString() local642 if (optLen < 24) return; // Malformed or empty. in rdnssOptionToString()644 int numServers = (optLen - 8) / 16; in rdnssOptionToString()653 int optLen = getUint8(mPacket, offset + 1) * 8; in rioOptionToString() local654 if (optLen < 8 || optLen > 24) return; // Malformed or empty. in rioOptionToString()662 System.arraycopy(mPacket.array(), offset + 8, prefix, 0, optLen - 8); in rioOptionToString()