/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IkeCommon.c | 123 IKE_PAYLOAD *IkePayload;
125 IkePayload = (IKE_PAYLOAD *) AllocateZeroPool (sizeof (IKE_PAYLOAD));
126 if (IkePayload == NULL) {
130 IkePayload->Signature = IKE_PAYLOAD_SIGNATURE;
132 return IkePayload;
138 @param[in] IkePayload Pointer of IKE_PAYLOAD to be freed.
143 IN IKE_PAYLOAD *IkePayload
146 if (IkePayload == NULL) {
150 // If this IkePayload is not referred by others, free it.
152 if (!IkePayload->IsPayloadBufExt && (IkePayload->PayloadBuf != NULL)) { [all...] |
IpSecDebug.h | 25 #define IPSEC_DUMP_PAYLOAD(IkePayload) IpSecDumpPayload (IkePayload, 1)
26 #define IKEV2_DUMP_PAYLOAD(IkePayload) IpSecDumpPayload (IkePayload, 2)
82 @param[in] IkePayload Point to payload to be printed.
88 IN IKE_PAYLOAD *IkePayload,
|
IkeCommon.h | 47 #define IKE_PACKET_APPEND_PAYLOAD(IkePacket,IkePayload) \
49 InsertTailList(&(IkePacket)->PayloadList, &(IkePayload)->ByPacket); \
52 #define IKE_PACKET_REMOVE_PAYLOAD(IkePacket,IkePayload) \
54 RemoveEntryList(&(IkePayload)->ByPacket); \
124 @param[in] IkePayload Pointer of IKE_PAYLOAD to be freed.
129 IN IKE_PAYLOAD *IkePayload
|
IkePacket.c | 60 IKE_PAYLOAD *IkePayload;
85 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry);
88 IkePayloadFree (IkePayload);
197 IKE_PAYLOAD *IkePayload;
224 // Allocate the Framgents according to the numbers of the IkePayload
239 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry);
241 Fragments[Index + 1].Bulk = IkePayload->PayloadBuf;
242 Fragments[Index + 1].Len = (UINT32) IkePayload->PayloadSize;
|
IpSecDebug.c | 276 @param[in] IkePayload Point to payload to be printed.
282 IN IKE_PAYLOAD *IkePayload,
287 DEBUG ((DEBUG_INFO, "+%a\n", mIkev1PayloadStr[IkePayload->PayloadType]));
292 DEBUG ((DEBUG_INFO, "+%a\n", mIkev2PayloadStr[IkePayload->PayloadType - 33]));
294 IpSecDumpBuf ("Payload data", IkePayload->PayloadBuf, IkePayload->PayloadSize);
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
Info.c | 44 IKE_PAYLOAD *IkePayload;
101 IkePayload = Ikev2GenerateDeletePayload (
108 if (IkePayload == NULL) {
115 IKE_PACKET_APPEND_PAYLOAD (IkePacket, IkePayload);
150 IkePayload = Ikev2GenerateDeletePayload (
157 if (IkePayload == NULL) {
164 IKE_PACKET_APPEND_PAYLOAD (IkePacket, IkePayload);
216 IKE_PAYLOAD *IkePayload;
278 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry);
280 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_DELETE) { [all...] |
Payload.c | [all...] |
Sa.c | 245 IKE_PAYLOAD *IkePayload;
257 IkePayload = NULL;
264 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry);
265 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_SA) {
266 SaPayload = IkePayload;
268 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_KE) {
269 KeyPayload = IkePayload;
271 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_NONCE) {
272 NoncePayload = IkePayload;
274 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_NOTIFY) { [all...] |
Utility.h | 755 is defined in RFC 4306. The IkePayload->PayloadBuf used to store both the input
762 @param[in, out] IkePayload Pointer to IKE payload to be encode as input, and
772 IN OUT IKE_PAYLOAD *IkePayload
781 @param[in, out] IkePayload Pointer to IKE payload to be decode as input, and
791 IN OUT IKE_PAYLOAD *IkePayload
[all...] |
Utility.c | 1055 IKE_PAYLOAD *IkePayload;
1060 IkePayload = IKE_PAYLOAD_BY_PACKET (Entry);
1061 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_TS_INIT) {
1067 if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_NOTIFY) {
1068 if (((IKEV2_NOTIFY*)IkePayload)->MessageType == IKEV2_NOTIFICATION_REKEY_SA) {
[all...] |