]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Ip6.h
Clean up MdePkg source to correct some coding style issues, etc.
[mirror_edk2.git] / MdePkg / Include / Protocol / Ip6.h
index 3053a28a5b8136a6f2b6392b5c3a05a8d0b4d778..7fe7eeeb61ed2a66ed810869df6c6899b2c0608a 100644 (file)
@@ -10,7 +10,7 @@
   Listener Discovery Protocol (MLD), and a subset of the Internet Control\r
   Message Protocol (ICMPv6).\r
   \r
-  Copyright (c) 2008 - 2009, Intel Corporation                                                         \r
+  Copyright (c) 2008 - 2010, Intel Corporation                                                         \r
   All rights reserved. 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
 \r
 typedef struct _EFI_IP6_PROTOCOL EFI_IP6_PROTOCOL;\r
 \r
+///\r
+/// EFI_IP6_ADDRESS_PAIR \r
+/// which is not defined in the UEFI 2.3 Specification.\r
+///\r
+typedef struct{ \r
+  ///\r
+  /// The EFI IPv6 Protocol instance handle that is using this address/prefix pair.\r
+  ///\r
+  EFI_HANDLE          InstanceHandle;\r
+  ///\r
+  /// IPv6 address in network byte order.\r
+  ///\r
+  EFI_IPv6_ADDRESS    Ip6Address;\r
+  ///\r
+  /// The length of the prefix associated with the Ip6Address.\r
+  ///\r
+  UINT8               PrefixLength;\r
+} EFI_IP6_ADDRESS_PAIR; \r
+\r
+///\r
+/// EFI_IP6_VARIABLE_DATA\r
+/// which is not defined in the UEFI 2.3 Specification.\r
+///\r
+typedef struct {\r
+  ///\r
+  /// The handle of the driver that creates this entry.\r
+  ///\r
+  EFI_HANDLE              DriverHandle;\r
+  ///\r
+  /// The number of IPv6 address pairs that follow this data structure.\r
+  ///\r
+  UINT32                  AddressCount;\r
+  ///\r
+  /// List of IPv6 address pairs that are currently in use.\r
+  ///\r
+  EFI_IP6_ADDRESS_PAIR    AddressPairs[1];\r
+} EFI_IP6_VARIABLE_DATA;\r
+\r
 ///\r
 /// ICMPv6 type definitions for error messages\r
 ///\r
@@ -800,7 +838,7 @@ EFI_STATUS
   is signaled.\r
 \r
   @param[in]  This               Pointer to the EFI_IP6_PROTOCOL instance.\r
-  @param]in]  Token              Pointer to a token that is associated with the receive data descriptor.\r
+  @param[in]  Token              Pointer to a token that is associated with the receive data descriptor.\r
                                  \r
   @retval EFI_SUCCESS            The receive completion token was cached.\r
   @retval EFI_NOT_STARTED        This EFI IPv6 Protocol instance has not been started.\r