]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IpSecDxe/IkeService.h
NetworkPkg: Fix hang issue after system reconnected when IPSec has set up
[mirror_edk2.git] / NetworkPkg / IpSecDxe / IkeService.h
index d1ac103dd4a8094d34f5c1cf4952ec66d9764c92..0e05dfe9764a1e2a712a95575d8cd92ec7861e55 100644 (file)
@@ -1,7 +1,7 @@
 /** @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
@@ -19,6 +19,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 +144,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 +153,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 +165,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 +174,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
@@ -241,7 +246,7 @@ IkeLookupUdp (
   Information packet.\r
 \r
   @param[in]  Private           Pointer of the IPSEC_PRIVATE_DATA.\r
-  @param[in]  IsDisableIPsec    Indicate whether needs to disable IPsec.\r
+  @param[in]  IsDisableIpsec    Indicate whether needs to disable IPsec.\r
 \r
 **/\r
 VOID\r