Searched refs:tsBytes (Results 1 – 3 of 3) sorted by relevance
102 byte[] tsBytes = in testDecodeIkeTrafficSelectors()199 tsBytes[TS_TYPE_OFFSET] = -1; in testDecodeIkeTrafficSelectorWithInvalidTsType()202 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithInvalidTsType()213 tsBytes[PROTOCOL_ID_OFFSET] = -1; in testDecodeIkeTrafficSelectorWithInvalidIpProtocol()216 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithInvalidIpProtocol()229 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithExpectedTrailing()242 tsBytes[TS_LENGTH_OFFSET] = 0; in testDecodeIkeTrafficSelectorWithInvalidTsLength()243 tsBytes[TS_LENGTH_OFFSET + 1] = 0; in testDecodeIkeTrafficSelectorWithInvalidTsLength()246 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithInvalidTsLength()413 byte[] tsBytes = in testDecodeWithBothIpv6AndIpv4TS()[all …]
61 byte[] tsBytes = new byte[inputBuffer.remaining()]; in IkeTsPayload()62 inputBuffer.get(tsBytes); in IkeTsPayload()63 trafficSelectors = IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in IkeTsPayload()
279 public static IkeTrafficSelector[] decodeIkeTrafficSelectors(int numTs, byte[] tsBytes) in decodeIkeTrafficSelectors() argument282 ByteBuffer inputBuffer = ByteBuffer.wrap(tsBytes); in decodeIkeTrafficSelectors()