]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Application/IpsecConfig/PolicyEntryOperation.h
Update the relevant drivers to use the correct GUID for EFI_IPSEC2_PROTOCOL.
[mirror_edk2.git] / NetworkPkg / Application / IpsecConfig / PolicyEntryOperation.h
index 5161bacccb77623431432de238b4d9302b332fdc..4514d2f8d2ddd197ab7e1817b35757900fc7276a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The function declaration of policy entry operation in IpSecConfig application.\r
 \r
 /** @file\r
   The function declaration of policy entry operation in IpSecConfig application.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2011, 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
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -46,6 +46,7 @@
 #define AUTH_KEY           BIT(27)\r
 #define ENCRYPT_KEY        BIT(28)\r
 #define PATH_MTU           BIT(29)\r
 #define AUTH_KEY           BIT(27)\r
 #define ENCRYPT_KEY        BIT(28)\r
 #define PATH_MTU           BIT(29)\r
+#define SOURCE             BIT(30)\r
 \r
 #define PEER_ID            BIT(0)\r
 #define PEER_ADDRESS       BIT(1)\r
 \r
 #define PEER_ID            BIT(0)\r
 #define PEER_ADDRESS       BIT(1)\r
@@ -114,12 +115,12 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (* COMBINE_POLICY_ENTRY) (\r
 typedef\r
 EFI_STATUS\r
 (* COMBINE_POLICY_ENTRY) (\r
-  EFI_IPSEC_CONFIG_SELECTOR    *OldSelector,\r
-  VOID                         *OldData,\r
-  EFI_IPSEC_CONFIG_SELECTOR    *NewSelector,\r
-  VOID                         *NewData,\r
-  UINT32                       Mask,\r
-  BOOLEAN                      *CreateNew\r
+  IN OUT EFI_IPSEC_CONFIG_SELECTOR    *OldSelector,\r
+  IN OUT VOID                         *OldData,\r
+  IN     EFI_IPSEC_CONFIG_SELECTOR    *NewSelector,\r
+  IN     VOID                         *NewData,\r
+  IN     UINT32                       Mask,\r
+     OUT BOOLEAN                      *CreateNew\r
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r