Home | History | Annotate | Download | only in IpSecDxe

Lines Matching refs:Header

20   Allocate a buffer for the IKE_PACKET and intitalize its Header and payloadlist.

40 IkePacket->Header = (IKE_HEADER *) AllocateZeroPool (sizeof (IKE_HEADER));
41 if (IkePacket->Header == NULL) {
70 // Free IkePacket header
72 if (!IkePacket->IsHdrExt && IkePacket->Header != NULL) {
73 FreePool (IkePacket->Header);
115 Create a IKE_PACKET and fill the received IKE header into the header of IKE_PACKET
116 and copy the recieved packet without IKE HEADER to the PayloadBuf of IKE_PACKET.
141 // Copy the IKE header from Netbuf to IkePacket->Hdr
143 NetbufCopy (Netbuf, 0, sizeof (IKE_HEADER), (UINT8 *) IkePacket->Header);
147 IkeHdrNetToHost (IkePacket->Header);
148 if (IkePacket->Header->Length < Netbuf->TotalSize) {
152 IkePacket->PayloadTotalSize = IkePacket->Header->Length - sizeof (IKE_HEADER);
159 // Copy the IKE packet without the header into the IkePacket->PayloadsBuf.
202 // Convert Host order to Network order for IKE_PACKET header and payloads
231 Fragments[0].Bulk = (UINT8 *) IkePacket->Header;