Searched refs:numSpi (Results 1 – 3 of 3) sorted by relevance
60 public final int numSpi; field in IkeDeletePayload81 numSpi = Short.toUnsignedInt(inputBuffer.getShort()); in IkeDeletePayload()82 spisToDelete = new int[numSpi]; in IkeDeletePayload()88 || numSpi != 0 in IkeDeletePayload()96 || numSpi == 0 in IkeDeletePayload()97 || inputBuffer.remaining() != SPI_LEN_IPSEC * numSpi) { in IkeDeletePayload()101 for (int i = 0; i < numSpi; i++) { in IkeDeletePayload()120 numSpi = 0; in IkeDeletePayload()138 numSpi = spis.length; in IkeDeletePayload()151 byteBuffer.put((byte) protocolId).put(spiSize).putShort((short) numSpi); in encodeToByteBuffer()
67 assertEquals(0, deletePayload.numSpi); in testDecodeDeleteIkePayload()86 assertEquals(NUM_CHILD_SPI, deletePayload.numSpi); in testDecodeDeleteChildPayload()159 assertEquals(0, deletePayload.numSpi); in testOutboundConstructorForIke()170 assertEquals(NUM_CHILD_SPI, deletePayload.numSpi); in testOutboundConstructorWithSingleChildSa()181 assertEquals(childSpis.length, deletePayload.numSpi); in testOutboundConstructorWithMultipleChildSas()
3333 assertEquals(0, deletePayload.numSpi); in testRekeyIkeLocalDeleteSendsRequest()4010 assertEquals(0, deletePayload.numSpi); in testDeleteIkeLocalDeleteRequest()