Update IPsec.h file to follow approved ECR which will be collected into future UEFI 2.3 Specification after 2.3 errata B and future UEFI Specifications after 2.3. The changes mainly include:
1. Add EFI_IPSEC2_PROTOCOL 2. Remove IPsec Authentication Algorithm Definition and IPsec Encryption Algorithm Definition. 3. Add EFI_IPSEC_SA_DATA2 data structure. And also update IPv4 driver to call EFI_IPSEC2_PROTOCOL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10941 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -2003,4 +2003,20 @@ NetIp6PseudoHeadChecksum (
|
||||
IN UINT8 NextHeader,
|
||||
IN UINT32 Len
|
||||
);
|
||||
|
||||
/**
|
||||
The function frees the net buffer which allocated by the IP protocol. It releases
|
||||
only the net buffer and doesn't call the external free function.
|
||||
|
||||
This function should be called after finishing the process of mIpSec->ProcessExt()
|
||||
for outbound traffic. The (EFI_IPSEC2_PROTOCOL)->ProcessExt() allocates a new
|
||||
buffer for the ESP, so there needs a function to free the old net buffer.
|
||||
|
||||
@param[in] Nbuf The network buffer to be freed.
|
||||
|
||||
**/
|
||||
VOID
|
||||
NetIpSecNetbufFree (
|
||||
NET_BUF *Nbuf
|
||||
);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user