]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IpSecDxe/IkeService.h
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / IpSecDxe / IkeService.h
index cc21154ac6227cf72d0ceed7d5d34fbb0a388c3f..36c925bdd2d3bd9ec6564e41572b05ddb1f95b96 100644 (file)
@@ -1,15 +1,9 @@
 /** @file\r
   Prototypes definitions of IKE service.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2015, 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
@@ -19,6 +13,7 @@
 #include "Ike.h"\r
 #include "IpSecImpl.h"\r
 #include "IkeCommon.h"\r
+#include "Ikev2/Utility.h"\r
 \r
 #define IPSEC_CRYPTO_LIB_MEMORY 128 * 1024\r
 \r
@@ -143,6 +138,7 @@ typedef struct _IKE_EXCHANGE_INTERFACE {
 \r
   @param[in] Private        Point to IPSEC_PRIVATE_DATA\r
   @param[in] Controller     Handler for NIC card.\r
+  @param[in] ImageHandle    The handle that contains the EFI_DRIVER_BINDING_PROTOCOL instance.\r
 \r
   @retval EFI_SUCCESS             The Operation is successful.\r
   @retval EFI_OUT_OF_RESOURCE     The required system resource can't be allocated.\r
@@ -151,7 +147,8 @@ typedef struct _IKE_EXCHANGE_INTERFACE {
 EFI_STATUS\r
 IkeOpenInputUdp4 (\r
   IN IPSEC_PRIVATE_DATA             *Private,\r
-  IN EFI_HANDLE                     Controller\r
+  IN EFI_HANDLE                     Controller,\r
+  IN EFI_HANDLE                     ImageHandle\r
   );\r
 \r
 /**\r
@@ -162,6 +159,7 @@ IkeOpenInputUdp4 (
 \r
   @param[in] Private        Point to IPSEC_PRIVATE_DATA\r
   @param[in] Controller     Handler for NIC card.\r
+  @param[in] ImageHandle    The handle that contains the EFI_DRIVER_BINDING_PROTOCOL instance.\r
 \r
   @retval EFI_SUCCESS             The Operation is successful.\r
   @retval EFI_OUT_OF_RESOURCE     The required system resource can't be allocated.\r
@@ -170,7 +168,8 @@ IkeOpenInputUdp4 (
 EFI_STATUS\r
 IkeOpenInputUdp6 (\r
   IN IPSEC_PRIVATE_DATA             *Private,\r
-  IN EFI_HANDLE                     Controller\r
+  IN EFI_HANDLE                     Controller,\r
+  IN EFI_HANDLE                     ImageHandle\r
   );\r
 \r
 /**\r