Searched refs:IkePayload (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IkeCommon.c | 165 IKE_PAYLOAD *IkePayload; in IkePayloadAlloc() local 167 IkePayload = (IKE_PAYLOAD *) AllocateZeroPool (sizeof (IKE_PAYLOAD)); in IkePayloadAlloc() 168 if (IkePayload == NULL) { in IkePayloadAlloc() 172 IkePayload->Signature = IKE_PAYLOAD_SIGNATURE; in IkePayloadAlloc() 174 return IkePayload; in IkePayloadAlloc() 185 IN IKE_PAYLOAD *IkePayload in IkePayloadFree() argument 188 if (IkePayload == NULL) { in IkePayloadFree() 194 if (!IkePayload->IsPayloadBufExt && (IkePayload->PayloadBuf != NULL)) { in IkePayloadFree() 195 FreePool (IkePayload->PayloadBuf); in IkePayloadFree() 198 FreePool (IkePayload); in IkePayloadFree()
|
D | IpSecDebug.h | 25 #define IPSEC_DUMP_PAYLOAD(IkePayload) IpSecDumpPayload (IkePayload, 1) argument 26 #define IKEV2_DUMP_PAYLOAD(IkePayload) IpSecDumpPayload (IkePayload, 2) argument 88 IN IKE_PAYLOAD *IkePayload,
|
D | IkeCommon.h | 47 #define IKE_PACKET_APPEND_PAYLOAD(IkePacket,IkePayload) \ argument 49 InsertTailList(&(IkePacket)->PayloadList, &(IkePayload)->ByPacket); \ 52 #define IKE_PACKET_REMOVE_PAYLOAD(IkePacket,IkePayload) \ argument 54 RemoveEntryList(&(IkePayload)->ByPacket); \ 129 IN IKE_PAYLOAD *IkePayload
|
D | IkePacket.c | 60 IKE_PAYLOAD *IkePayload; in IkePacketFree() local 85 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry); in IkePacketFree() 88 IkePayloadFree (IkePayload); in IkePacketFree() 197 IKE_PAYLOAD *IkePayload; in IkeNetbufFromPacket() local 246 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry); in IkeNetbufFromPacket() 248 Fragments[Index + 1].Bulk = IkePayload->PayloadBuf; in IkeNetbufFromPacket() 249 Fragments[Index + 1].Len = (UINT32) IkePayload->PayloadSize; in IkeNetbufFromPacket()
|
D | IpSecDebug.c | 282 IN IKE_PAYLOAD *IkePayload, in IpSecDumpPayload() argument 287 DEBUG ((DEBUG_INFO, "+%a\n", mIkev1PayloadStr[IkePayload->PayloadType])); in IpSecDumpPayload() 292 DEBUG ((DEBUG_INFO, "+%a\n", mIkev2PayloadStr[IkePayload->PayloadType - 33])); in IpSecDumpPayload() 294 IpSecDumpBuf ("Payload data", IkePayload->PayloadBuf, IkePayload->PayloadSize); in IpSecDumpPayload()
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Info.c | 44 IKE_PAYLOAD *IkePayload; in Ikev2InfoGenerator() local 103 IkePayload = Ikev2GenerateDeletePayload ( in Ikev2InfoGenerator() 110 if (IkePayload == NULL) { in Ikev2InfoGenerator() 117 IKE_PACKET_APPEND_PAYLOAD (IkePacket, IkePayload); in Ikev2InfoGenerator() 156 IkePayload = Ikev2GenerateDeletePayload ( in Ikev2InfoGenerator() 163 if (IkePayload == NULL) { in Ikev2InfoGenerator() 170 IKE_PACKET_APPEND_PAYLOAD (IkePacket, IkePayload); in Ikev2InfoGenerator() 225 IKE_PAYLOAD *IkePayload; in Ikev2InfoParser() local 287 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry); in Ikev2InfoParser() 289 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_DELETE) { in Ikev2InfoParser() [all …]
|
D | Payload.c | 1622 IKE_PAYLOAD *IkePayload; in ClearAllPayloads() local 1628 IkePayload = IKE_PAYLOAD_BY_PACKET (PayloadEntry); in ClearAllPayloads() 1629 IKE_PACKET_REMOVE_PAYLOAD (IkePacket, IkePayload); in ClearAllPayloads() 1630 IkePayloadFree (IkePayload); in ClearAllPayloads() 2031 IN OUT IKE_PAYLOAD *IkePayload in Ikev2EncodePayload() argument 2052 switch (IkePayload->PayloadType) { in Ikev2EncodePayload() 2057 SaData = (IKEV2_SA_DATA *) IkePayload->PayloadBuf; in Ikev2EncodePayload() 2063 if (!IkePayload->IsPayloadBufExt) { in Ikev2EncodePayload() 2064 FreePool (IkePayload->PayloadBuf); in Ikev2EncodePayload() 2066 IkePayload->PayloadBuf = (UINT8 *) SaPayload; in Ikev2EncodePayload() [all …]
|
D | Sa.c | 249 IKE_PAYLOAD *IkePayload; in Ikev2InitPskParser() local 261 IkePayload = NULL; in Ikev2InitPskParser() 268 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry); in Ikev2InitPskParser() 269 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_SA) { in Ikev2InitPskParser() 270 SaPayload = IkePayload; in Ikev2InitPskParser() 272 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_KE) { in Ikev2InitPskParser() 273 KeyPayload = IkePayload; in Ikev2InitPskParser() 275 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_NONCE) { in Ikev2InitPskParser() 276 NoncePayload = IkePayload; in Ikev2InitPskParser() 278 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_NOTIFY) { in Ikev2InitPskParser() [all …]
|
D | Utility.h | 772 IN OUT IKE_PAYLOAD *IkePayload 791 IN OUT IKE_PAYLOAD *IkePayload
|
D | Utility.c | 1076 IKE_PAYLOAD *IkePayload; in Ikev2ChildExchangeRequestType() local 1081 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry); in Ikev2ChildExchangeRequestType() 1082 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_TS_INIT) { in Ikev2ChildExchangeRequestType() 1088 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_NOTIFY) { in Ikev2ChildExchangeRequestType() 1089 if (((IKEV2_NOTIFY*)IkePayload)->MessageType == IKEV2_NOTIFICATION_REKEY_SA) { in Ikev2ChildExchangeRequestType()
|