]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Ip6Config.h
MdePkg: Update the comments of Ip4Config2/Ip6Config Protocol
[mirror_edk2.git] / MdePkg / Include / Protocol / Ip6Config.h
index b2c3be9ee7cf54e86757607642a23735d5ae46a4..bcb8ba2c6ffc39d994fbe55e0a75eab061b9c71b 100644 (file)
@@ -2,7 +2,7 @@
   This file provides a definition of the EFI IPv6 Configuration\r
   Protocol.\r
 \r
-Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.<BR>\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<BR>\r
@@ -66,7 +66,9 @@ typedef enum {
   /// The station addresses set manually for the EFI \r
   /// IPv6 network stack. It is only configurable when the policy is \r
   /// Ip6ConfigPolicyManual. The corresponding Data is a \r
-  /// pointer to an array of EFI_IPv6_ADDRESS instances.\r
+  /// pointer to an array of EFI_IPv6_ADDRESS instances. When \r
+  /// DataSize is 0 and Data is NULL, the existing configuration \r
+  /// is cleared from the EFI IPv6 Configuration Protocol instance.\r
   /// \r
   Ip6ConfigDataTypeManualAddress,\r
   /// \r
@@ -76,6 +78,8 @@ typedef enum {
   /// the policy is Ip6ConfigPolicyAutomatic. The gateway \r
   /// addresses must be unicast IPv6 addresses. The corresponding \r
   /// Data is a pointer to an array of EFI_IPv6_ADDRESS instances.\r
+  /// When DataSize is 0 and Data is NULL, the existing configuration \r
+  /// is cleared from the EFI IPv6 Configuration Protocol instance.\r
   /// \r
   Ip6ConfigDataTypeGateway,\r
   /// \r
@@ -85,6 +89,8 @@ typedef enum {
   /// policy is Ip6ConfigPolicyAutomatic.The DNS server \r
   /// addresses must be unicast IPv6 addresses. The corresponding \r
   /// Data is a pointer to an array of EFI_IPv6_ADDRESS instances.\r
+  /// When DataSize is 0 and Data is NULL, the existing configuration \r
+  /// is cleared from the EFI IPv6 Configuration Protocol instance.\r
   /// \r
   Ip6ConfigDataTypeDnsServer,\r
   ///\r
@@ -228,9 +234,8 @@ typedef struct {
                                 network stack is set successfully.\r
   @retval EFI_INVALID_PARAMETER One or more of the following are TRUE:\r
                                 - This is NULL.\r
-                                - Data is NULL.\r
-                                - One or more fields in Data do not match the requirement of the \r
-                                  data type indicated by DataType. \r
+                                - One or more fields in Data and DataSize do not match the \r
+                                  requirement of the data type indicated by DataType. \r
   @retval EFI_WRITE_PROTECTED   The specified configuration data is read-only or the specified \r
                                 configuration data can not be set under the current policy\r
   @retval EFI_ACCESS_DENIED     Another set operation on the specified configuration \r