Searched refs:nextPayloadType (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessage.java | 336 && ikeHeader.nextPayloadType == IkePayload.PAYLOAD_TYPE_SK; in isDpdRequest() 559 header.nextPayloadType, header.isResponseMsg, unencryptedPayloads); in decode() 600 if (header.nextPayloadType != IkePayload.PAYLOAD_TYPE_SK in decode() 601 && header.nextPayloadType != IkePayload.PAYLOAD_TYPE_SKF) { in decode() 633 boolean isFragment = (header.nextPayloadType == IkePayload.PAYLOAD_TYPE_SKF); in decode() 717 boolean isSkf = header.nextPayloadType == IkePayload.PAYLOAD_TYPE_SKF; in decryptAndAuthenticate() 759 int nextPayloadType, in processIkeFragment() argument 763 header, inputPacket, skf, nextPayloadType, collectedFragments); in processIkeFragment() 773 header, inputPacket, skf, nextPayloadType, null /*collectedFragments*/); in processIkeFragment() 791 header, inputPacket, skf, nextPayloadType, collectedFragments); in processIkeFragment() [all …]
|
D | IkeHeader.java | 77 @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()
|
D | IkePayloadFactory.java | 139 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/ |
D | IkeSessionStateMachineTest.java | 509 int nextPayloadType, in makeDummyReceivedIkeFragmentPacket() argument 517 header, dummyPacket, skfPayload, nextPayloadType, collectedFrags); in makeDummyReceivedIkeFragmentPacket() 1754 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in verifyOutInfoMsgHeaderAndGetPayloads() 2758 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testCreateIkeLocalIkeAuthInEapHandlesOutboundResponse() 3045 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testRekeyIkeLocalCreateSendsRequest() 3321 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testRekeyIkeLocalDeleteSendsRequest() 3497 assertEquals(IkePayload.PAYLOAD_TYPE_SK, rekeyCreateRespHeader.nextPayloadType); in testRekeyIkeRemoteCreate() 3582 assertEquals(IkePayload.PAYLOAD_TYPE_SK, rekeyDeleteRespHeader.nextPayloadType); in testRekeyIkeRemoteDelete() 3796 assertEquals(IkePayload.PAYLOAD_TYPE_SK, generated.ikeHeader.nextPayloadType); in testBuildEncryptedInformationalMessage() 3998 assertEquals(IkePayload.PAYLOAD_TYPE_SK, ikeHeader.nextPayloadType); in testDeleteIkeLocalDeleteRequest() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeHeaderTest.java | 86 assertEquals(IKE_FIRST_PAYLOAD_TYPE, header.nextPayloadType); in testDecodeIkeHeader()
|