X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=NetworkPkg%2FIpSecDxe%2FIkePacket.h;h=674d52a6990f46d5e9c918b87da68159a36b2dea;hp=053d659d9c73a905dd8fdd8388721e5339b10153;hb=f75a7f568e6d0944327970b3f3f2dafd9bba76b1;hpb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107 diff --git a/NetworkPkg/IpSecDxe/IkePacket.h b/NetworkPkg/IpSecDxe/IkePacket.h index 053d659d9c..674d52a699 100644 --- a/NetworkPkg/IpSecDxe/IkePacket.h +++ b/NetworkPkg/IpSecDxe/IkePacket.h @@ -1,7 +1,7 @@ /** @file IKE Packet related definitions and function declarations. - Copyright (c) 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -10,7 +10,7 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - + **/ #ifndef _IKE_V1_PACKET_H_ @@ -46,11 +46,11 @@ IkePacketFree ( /** Copy the NetBuf into a IKE_PACKET sturcture. - - Create a IKE_PACKET and fill the received IKE header into the header of IKE_PACKET + + Create a IKE_PACKET and fill the received IKE header into the header of IKE_PACKET and copy the recieved packet without IKE HEADER to the PayloadBuf of IKE_PACKET. - @param[in] Netbuf The pointer of the Netbuf which contains the whole received + @param[in] Netbuf The pointer of the Netbuf which contains the whole received IKE packet. @return The pointer of the IKE_PACKET which contains the received packet. @@ -66,8 +66,8 @@ IkePacketFromNetbuf ( @param[in] SessionCommon Pointer of related IKE_COMMON_SESSION @param[in] IkePacket Pointer of IKE_PACKET to be copy to NetBuf - @param[in] IkeType The IKE type to pointer the packet is for which IKE - phase. Now it supports IKE_SA_TYPE, IKE_CHILDSA_TYPE, + @param[in] IkeType The IKE type to pointer the packet is for which IKE + phase. Now it supports IKE_SA_TYPE, IKE_CHILDSA_TYPE, IKE_INFO_TYPE. @return A pointer of Netbuff which contains the contents of the IKE_PACKE in network order.