Searched refs:tsPayload (Results 1 – 2 of 2) sorted by relevance
85 IkeTsPayload tsPayload = (IkeTsPayload) payload; in testDecodeTsInitiatorPayload() local86 assertEquals(IkePayload.PAYLOAD_TYPE_TS_INITIATOR, tsPayload.payloadType); in testDecodeTsInitiatorPayload()87 assertEquals(NUMBER_OF_TS, tsPayload.numTs); in testDecodeTsInitiatorPayload()92 IkeTsPayload tsPayload = in testBuildAndEncodeTsPayload() local95 ByteBuffer byteBuffer = ByteBuffer.allocate(tsPayload.getPayloadLength()); in testBuildAndEncodeTsPayload()96 tsPayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_TS_RESPONDER, byteBuffer); in testBuildAndEncodeTsPayload()120 IkeTsPayload tsPayload = in testContains() local133 assertTrue(tsPayload.contains(tsPayload)); in testContains()134 assertTrue(tsPayload.contains(tsNarrowPortRangePayload)); in testContains()135 assertTrue(tsPayload.contains(tsNarrowAddressRangePayload)); in testContains()[all …]
98 public boolean contains(IkeTsPayload tsPayload) { in contains() argument100 for (IkeTrafficSelector subTs : tsPayload.trafficSelectors) { in contains()