Home
last modified time | relevance | path

Searched refs:nextPayloadType (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeader.java77 @PayloadType public final int nextPayloadType; field in IkeHeader
115 nextPayloadType = nextPType; in IkeHeader()
143 nextPayloadType = Byte.toUnsignedInt(buffer.get()); in IkeHeader()
161 if (nextPayloadType != IkePayload.PAYLOAD_TYPE_SK) { in makeSkfHeaderFromSkHeader()
220 .put((byte) nextPayloadType) in encodeToByteBuffer()
DIkeMessage.java393 && ikeHeader.nextPayloadType == IkePayload.PAYLOAD_TYPE_SK; in isDpdRequest()
702 header.nextPayloadType, header.isResponseMsg, unencryptedPayloads); in decode()
743 if (header.nextPayloadType != IkePayload.PAYLOAD_TYPE_SK in decode()
744 && header.nextPayloadType != IkePayload.PAYLOAD_TYPE_SKF) { in decode()
776 boolean isFragment = (header.nextPayloadType == IkePayload.PAYLOAD_TYPE_SKF); in decode()
860 boolean isSkf = header.nextPayloadType == IkePayload.PAYLOAD_TYPE_SKF; in decryptAndAuthenticate()
902 int nextPayloadType, in processIkeFragment() argument
906 header, inputPacket, skf, nextPayloadType, collectedFragments); in processIkeFragment()
916 header, inputPacket, skf, nextPayloadType, null /*collectedFragments*/); in processIkeFragment()
934 header, inputPacket, skf, nextPayloadType, collectedFragments); in processIkeFragment()
[all …]
DIkePayloadFactory.java139 int nextPayloadType = (int) input.get(); in getIkePayload() local
159 return new Pair(payload, nextPayloadType); in getIkePayload()
189 int nextPayloadType = (int) input.get(); in getIkeSkPayload() local
220 return new Pair(payload, nextPayloadType); in getIkeSkPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeaderTest.java87 assertEquals(IKE_FIRST_PAYLOAD_TYPE, header.nextPayloadType); in testDecodeIkeHeader()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java617 int nextPayloadType, in makeDummyReceivedIkeFragmentPacket() argument
625 header, dummyPacket, skfPayload, nextPayloadType, collectedFrags); in makeDummyReceivedIkeFragmentPacket()
2479 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in verifyOutInfoMsgHeaderAndGetPayloads()
3716 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testCreateIkeLocalIkeAuthInEapHandlesOutboundResponse()
4008 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testRekeyIkeLocalCreateSendsRequest()
4306 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testRekeyIkeLocalDeleteSendsRequest()
4672 assertEquals(IkePayload.PAYLOAD_TYPE_SK, rekeyDeleteRespHeader.nextPayloadType); in testRekeyIkeRemoteDelete()
4887 assertEquals(IkePayload.PAYLOAD_TYPE_SK, generated.ikeHeader.nextPayloadType); in testBuildEncryptedInformationalMessage()
5158 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testDeleteIkeLocalDeleteRequest()
5283 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in verifySendTempFailResponse()
[all …]