Searched refs:optionLen (Results 1 – 1 of 1) sorted by relevance
681 int optionLen = 4 * addrs.size(); in addTlv() local682 if (optionLen > MAX_OPTION_LEN) { in addTlv()684 + optionLen + " vs. " + MAX_OPTION_LEN); in addTlv()688 buf.put((byte)(optionLen)); in addTlv()879 private static int skipOption(ByteBuffer packet, int optionLen) in skipOption() argument882 for (int i = 0; i < optionLen; i++) { in skipOption()1103 int optionLen = packet.get() & 0xFF; in decodeFullPacket() local1107 skipOption(packet, optionLen); in decodeFullPacket()1117 for (expectedLen = 0; expectedLen < optionLen; expectedLen += 4) { in decodeFullPacket()1122 for (expectedLen = 0; expectedLen < optionLen; expectedLen += 4) { in decodeFullPacket()[all …]