]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IpSecDxe/Ikev2/Utility.h
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / IpSecDxe / Ikev2 / Utility.h
index 8383ff8dd63a2cd92db7c7f50e758519d0c45f82..ee466c05ac58cfba9567716a7c49a638d2228202 100644 (file)
@@ -4,13 +4,7 @@
 \r
   Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -104,19 +98,6 @@ Ikev2SaSessionRemove (
   );\r
 \r
 \r
-/**\r
-  Marking a SA session as on deleting.\r
-\r
-  @param[in]  IkeSaSession  Pointer to IKEV2_SA_SESSION.\r
-\r
-  @retval     EFI_SUCCESS   Find the related SA session and marked it.\r
-\r
-**/\r
-EFI_STATUS\r
-Ikev2SaSessionOnDeleting (\r
-  IN IKEV2_SA_SESSION          *IkeSaSession\r
-  );\r
-\r
 /**\r
   After IKE/Child SA is estiblished, close the time event and free sent packet.\r
 \r
@@ -211,20 +192,6 @@ Ikev2ChildSaSessionLookupBySpi (
   IN UINT32               Spi\r
   );\r
 \r
-/**\r
-  Find the ChildSaSession by it's MessagId.\r
-\r
-  @param[in] SaSessionList  Pointer to a ChildSaSession List.\r
-  @param[in] Mid            The messageId used to search ChildSaSession.\r
-\r
-  @return Pointer to IKEV2_CHILD_SA_SESSION.\r
-\r
-**/\r
-IKEV2_CHILD_SA_SESSION *\r
-Ikev2ChildSaSessionLookupByMid (\r
-  IN LIST_ENTRY           *SaSessionList,\r
-  IN UINT32               Mid\r
-  );\r
 \r
 /**\r
   Insert a Child SA Session into the specified ChildSa list..\r
@@ -257,18 +224,6 @@ Ikev2ChildSaSessionRemove (
   IN UINT8                ListType\r
   );\r
 \r
-/**\r
-  Mark a specified Child SA Session as on deleting.\r
-\r
-  @param[in]  ChildSaSession   Pointer to IKEV2_CHILD_SA_SESSION.\r
-\r
-  @retval     EFI_SUCCESS      Operation is successful.\r
-\r
-**/\r
-EFI_STATUS\r
-Ikev2ChildSaSessionOnDeleting (\r
-  IN IKEV2_CHILD_SA_SESSION   *ChildSaSession\r
-  );\r
 \r
 /**\r
   Free the memory located for the specified IKEV2_CHILD_SA_SESSION.\r
@@ -328,19 +283,6 @@ Ikev2ChildExchangeRequestType(
   IN IKE_PACKET               *IkePacket\r
   );\r
 \r
-/**\r
-  This function finds the SPI from Create Child Sa Exchange Packet.\r
-\r
-  @param[in] IkePacket       Pointer to IKE_PACKET to be searched.\r
-\r
-  @retval SPI number.\r
-\r
-**/\r
-UINT32\r
-Ikev2ChildExchangeRekeySpi(\r
-  IN IKE_PACKET               *IkePacket\r
-  );\r
-\r
 \r
 /**\r
   Associate a SPD selector to the Child SA Session.\r
@@ -882,21 +824,6 @@ Ikev2DecodePacket (
   IN     UINTN                 IkeType\r
   );\r
 \r
-/**\r
-  Save some useful payloads after accepting the Packet.\r
-\r
-  @param[in] SessionCommon   Pointer to IKEV2_SESSION_COMMON related to the operation.\r
-  @param[in] IkePacket       Pointer to received IkePacet.\r
-  @param[in] IkeType         The type used to indicate it is in IkeSa or ChildSa or Info\r
-                             exchange.\r
-\r
-**/\r
-VOID\r
-Ikev2OnPacketAccepted (\r
-  IN IKEV2_SESSION_COMMON *SessionCommon,\r
-  IN IKE_PACKET           *IkePacket,\r
-  IN UINT8                IkeType\r
-  );\r
 \r
 /**\r
   Send out IKEV2 packet.\r