]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Ip6.h
MdePkg: Add UEFI2.5 EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL definitions
[mirror_edk2.git] / MdePkg / Include / Protocol / Ip6.h
index 7fe7eeeb61ed2a66ed810869df6c6899b2c0608a..5d0416d1013d93aeee997e349c84cc872d386496 100644 (file)
@@ -3,24 +3,24 @@
   Protocol interface. It is split into the following three main\r
   sections:\r
   - EFI IPv6 Service Binding Protocol\r
-  - EFI IPv6 Variable\r
+  - EFI IPv6 Variable (deprecated in UEFI 2.4B)\r
   - EFI IPv6 Protocol\r
   The EFI IPv6 Protocol provides basic network IPv6 packet I/O services,\r
   which includes support for Neighbor Discovery Protocol (ND), Multicast\r
   Listener Discovery Protocol (MLD), and a subset of the Internet Control\r
   Message Protocol (ICMPv6).\r
-  \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
-  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
+  Copyright (c) 2008 - 2014, 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\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  @par Revision Reference:          \r
-  This Protocol is introduced in UEFI Specification 2.2       \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
+\r
+  @par Revision Reference:\r
+  This Protocol is introduced in UEFI Specification 2.2\r
 \r
 **/\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
+/// EFI_IP6_ADDRESS_PAIR is deprecated in the UEFI 2.4B and should not be used any more.\r
+/// The definition in here is only present to provide backwards compatability.\r
 ///\r
-typedef struct{ \r
+typedef struct{\r
   ///\r
   /// The EFI IPv6 Protocol instance handle that is using this address/prefix pair.\r
   ///\r
@@ -59,11 +59,11 @@ typedef struct{
   /// The length of the prefix associated with the Ip6Address.\r
   ///\r
   UINT8               PrefixLength;\r
-} EFI_IP6_ADDRESS_PAIR; \r
+} EFI_IP6_ADDRESS_PAIR;\r
 \r
 ///\r
-/// EFI_IP6_VARIABLE_DATA\r
-/// which is not defined in the UEFI 2.3 Specification.\r
+/// EFI_IP6_VARIABLE_DATA is deprecated in the UEFI 2.4B and should not be used any more.\r
+/// The definition in here is only present to provide backwards compatability.\r
 ///\r
 typedef struct {\r
   ///\r
@@ -114,12 +114,12 @@ typedef struct {
 #define ICMP_V6_NO_ROUTE_TO_DEST                 0x0\r
 #define ICMP_V6_COMM_PROHIBITED                  0x1\r
 #define ICMP_V6_BEYOND_SCOPE                     0x2\r
-#define ICMP_V6_ADDR_UNREACHABLE                 0x3 \r
+#define ICMP_V6_ADDR_UNREACHABLE                 0x3\r
 #define ICMP_V6_PORT_UNREACHABLE                 0x4\r
 #define ICMP_V6_SOURCE_ADDR_FAILED               0x5\r
 #define ICMP_V6_ROUTE_REJECTED                   0x6\r
 ///@}\r
-       \r
+\r
 ///\r
 /// ICMPv6 code definitions for ICMP_V6_TIME_EXCEEDED\r
 ///\r
@@ -127,7 +127,7 @@ typedef struct {
 #define ICMP_V6_TIMEOUT_HOP_LIMIT                0x0\r
 #define ICMP_V6_TIMEOUT_REASSEMBLE               0x1\r
 ///@}\r
-       \r
+\r
 ///\r
 /// ICMPv6 code definitions for ICMP_V6_PARAMETER_PROBLEM\r
 ///\r
@@ -142,82 +142,82 @@ typedef struct {
 /// is used to report and change IPv6 session parameters.\r
 ///\r
 typedef struct {\r
-  /// \r
-  /// For the IPv6 packet to send and receive, this is the default value \r
-  /// of the 'Next Header' field in the last IPv6 extension header or in \r
-  /// the IPv6 header if there are no extension headers. Ignored when \r
+  ///\r
+  /// For the IPv6 packet to send and receive, this is the default value\r
+  /// of the 'Next Header' field in the last IPv6 extension header or in\r
+  /// the IPv6 header if there are no extension headers. Ignored when\r
   /// AcceptPromiscuous is TRUE.\r
-  /// \r
+  ///\r
   UINT8                   DefaultProtocol;\r
-  /// \r
-  /// Set to TRUE to receive all IPv6 packets that get through the \r
-  /// receive filters.  \r
-  /// Set to FALSE to receive only the DefaultProtocol IPv6 \r
-  /// packets that get through the receive filters. Ignored when \r
+  ///\r
+  /// Set to TRUE to receive all IPv6 packets that get through the\r
+  /// receive filters.\r
+  /// Set to FALSE to receive only the DefaultProtocol IPv6\r
+  /// packets that get through the receive filters. Ignored when\r
   /// AcceptPromiscuous is TRUE.\r
-  /// \r
+  ///\r
   BOOLEAN                 AcceptAnyProtocol;\r
-  /// \r
-  /// Set to TRUE to receive ICMP error report packets. Ignored when \r
+  ///\r
+  /// Set to TRUE to receive ICMP error report packets. Ignored when\r
   /// AcceptPromiscuous or AcceptAnyProtocol is TRUE.\r
-  /// \r
+  ///\r
   BOOLEAN                 AcceptIcmpErrors;\r
-  /// \r
-  /// Set to TRUE to receive all IPv6 packets that are sent to any \r
-  /// hardware address or any protocol address. Set to FALSE to stop \r
+  ///\r
+  /// Set to TRUE to receive all IPv6 packets that are sent to any\r
+  /// hardware address or any protocol address. Set to FALSE to stop\r
   /// receiving all promiscuous IPv6 packets.\r
-  /// \r
+  ///\r
   BOOLEAN                 AcceptPromiscuous;\r
-  /// \r
-  /// The destination address of the packets that will be transmitted. \r
+  ///\r
+  /// The destination address of the packets that will be transmitted.\r
   /// Ignored if it is unspecified.\r
-  /// \r
+  ///\r
   EFI_IPv6_ADDRESS        DestinationAddress;\r
-  /// \r
-  /// The station IPv6 address that will be assigned to this EFI IPv6 \r
-  /// Protocol instance. This field can be set and changed only when \r
-  /// the EFI IPv6 driver is transitioning from the stopped to the started \r
-  /// states. If the StationAddress is specified, the EFI IPv6 Protocol \r
-  /// driver will deliver only incoming IPv6 packets whose destination \r
-  /// matches this IPv6 address exactly. The StationAddress is required \r
-  /// to be one of currently configured IPv6 addresses. An address \r
-  /// containing all zeroes is also accepted as a special case. Under this \r
-  /// situation, the IPv6 driver is responsible for binding a source \r
-  /// address to this EFI IPv6 protocol instance according to the source \r
-  /// address selection algorithm. Only incoming packets destined to \r
-  /// the selected address will be delivered to the user.  And the \r
-  /// selected station address can be retrieved through later \r
-  /// GetModeData() call. If no address is available for selecting, \r
-  /// EFI_NO_MAPPING will be returned, and the station address will \r
-  /// only be successfully bound to this EFI IPv6 protocol instance \r
+  ///\r
+  /// The station IPv6 address that will be assigned to this EFI IPv6\r
+  /// Protocol instance. This field can be set and changed only when\r
+  /// the EFI IPv6 driver is transitioning from the stopped to the started\r
+  /// states. If the StationAddress is specified, the EFI IPv6 Protocol\r
+  /// driver will deliver only incoming IPv6 packets whose destination\r
+  /// matches this IPv6 address exactly. The StationAddress is required\r
+  /// to be one of currently configured IPv6 addresses. An address\r
+  /// containing all zeroes is also accepted as a special case. Under this\r
+  /// situation, the IPv6 driver is responsible for binding a source\r
+  /// address to this EFI IPv6 protocol instance according to the source\r
+  /// address selection algorithm. Only incoming packets destined to\r
+  /// the selected address will be delivered to the user.  And the\r
+  /// selected station address can be retrieved through later\r
+  /// GetModeData() call. If no address is available for selecting,\r
+  /// EFI_NO_MAPPING will be returned, and the station address will\r
+  /// only be successfully bound to this EFI IPv6 protocol instance\r
   /// after IP6ModeData.IsConfigured changed to TRUE.\r
-  /// \r
-  EFI_IPv6_ADDRESS        StationAddress; \r
-  /// \r
-  /// TrafficClass field in transmitted IPv6 packets. Default value \r
+  ///\r
+  EFI_IPv6_ADDRESS        StationAddress;\r
+  ///\r
+  /// TrafficClass field in transmitted IPv6 packets. Default value\r
   /// is zero.\r
-  /// \r
+  ///\r
   UINT8                   TrafficClass;\r
-  /// \r
-  /// HopLimit field in transmitted IPv6 packets. \r
-  /// \r
+  ///\r
+  /// HopLimit field in transmitted IPv6 packets.\r
+  ///\r
   UINT8                   HopLimit;\r
-  /// \r
-  /// FlowLabel field in transmitted IPv6 packets. Default value is \r
+  ///\r
+  /// FlowLabel field in transmitted IPv6 packets. Default value is\r
   /// zero.\r
-  /// \r
+  ///\r
   UINT32                  FlowLabel;\r
-  /// \r
-  /// The timer timeout value (number of microseconds) for the \r
-  /// receive timeout event to be associated with each assembled \r
+  ///\r
+  /// The timer timeout value (number of microseconds) for the\r
+  /// receive timeout event to be associated with each assembled\r
   /// packet. Zero means do not drop assembled packets.\r
-  /// \r
+  ///\r
   UINT32                  ReceiveTimeout;\r
-  /// \r
-  /// The timer timeout value (number of microseconds) for the \r
-  /// transmit timeout event to be associated with each outgoing \r
+  ///\r
+  /// The timer timeout value (number of microseconds) for the\r
+  /// transmit timeout event to be associated with each outgoing\r
   /// packet. Zero means do not drop outgoing packets.\r
-  /// \r
+  ///\r
   UINT32                  TransmitTimeout;\r
 } EFI_IP6_CONFIG_DATA;\r
 \r
@@ -226,24 +226,24 @@ typedef struct {
 ///\r
 typedef struct {\r
   EFI_IPv6_ADDRESS        Address;       ///< The IPv6 address.\r
-  UINT8                   PrefixLength;  ///< The length of the prefix associated with the Address. \r
+  UINT8                   PrefixLength;  ///< The length of the prefix associated with the Address.\r
 } EFI_IP6_ADDRESS_INFO;\r
 \r
 ///\r
 /// EFI_IP6_ROUTE_TABLE\r
 /// is the entry structure that is used in routing tables\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
-  /// The IPv6 address of the gateway to be used as the next hop for \r
-  /// packets to this prefix. If the IPv6 address is all zeros, then the \r
+  /// The IPv6 address of the gateway to be used as the next hop for\r
+  /// packets to this prefix. If the IPv6 address is all zeros, then the\r
   /// prefix is on-link.\r
   ///\r
-  EFI_IPv6_ADDRESS        Gateway;    \r
+  EFI_IPv6_ADDRESS        Gateway;\r
   ///\r
   /// The destination prefix to be routed.\r
   ///\r
-  EFI_IPv6_ADDRESS        Destination;  \r
+  EFI_IPv6_ADDRESS        Destination;\r
   ///\r
   /// The length of the prefix associated with the Destination.\r
   ///\r
@@ -255,31 +255,31 @@ typedef struct {
 ///\r
 typedef enum {\r
   ///\r
-  /// Address resolution is being performed on this entry. Specially, \r
-  /// Neighbor Solicitation has been sent to the solicited-node \r
-  /// multicast address of the target, but corresponding Neighbor \r
+  /// Address resolution is being performed on this entry. Specially,\r
+  /// Neighbor Solicitation has been sent to the solicited-node\r
+  /// multicast address of the target, but corresponding Neighbor\r
   /// Advertisement has not been received.\r
   ///\r
-  EfiNeighborInComplete, \r
+  EfiNeighborInComplete,\r
   ///\r
-  /// Positive confirmation was received that the forward path to the \r
+  /// Positive confirmation was received that the forward path to the\r
   /// neighbor was functioning properly.\r
   ///\r
   EfiNeighborReachable,\r
   ///\r
-  ///Reachable Time has elapsed since the last positive confirmation \r
-  ///was received. In this state, the forward path to the neighbor was \r
+  ///Reachable Time has elapsed since the last positive confirmation\r
+  ///was received. In this state, the forward path to the neighbor was\r
   ///functioning properly.\r
   ///\r
   EfiNeighborStale,\r
   ///\r
-  /// This state is an optimization that gives upper-layer protocols \r
+  /// This state is an optimization that gives upper-layer protocols\r
   /// additional time to provide reachability confirmation.\r
   ///\r
   EfiNeighborDelay,\r
   ///\r
-  /// A reachability confirmation is actively sought by retransmitting \r
-  /// Neighbor Solicitations every RetransTimer milliseconds until a \r
+  /// A reachability confirmation is actively sought by retransmitting\r
+  /// Neighbor Solicitations every RetransTimer milliseconds until a\r
   /// reachability confirmation is received.\r
   ///\r
   EfiNeighborProbe\r
@@ -287,107 +287,107 @@ typedef enum {
 \r
 ///\r
 /// EFI_IP6_NEIGHBOR_CACHE\r
-/// is the entry structure that is used in neighbor cache. It records a set \r
-/// of entries about individual neighbors to which traffic has been sent recently. \r
+/// is the entry structure that is used in neighbor cache. It records a set\r
+/// of entries about individual neighbors to which traffic has been sent recently.\r
 ///\r
 typedef struct {\r
   EFI_IPv6_ADDRESS        Neighbor;    ///< The on-link unicast/anycast IP address of the neighbor.\r
-  EFI_MAC_ADDRESS         LinkAddress; ///< Link-layer address of the neighbor. \r
-  EFI_IP6_NEIGHBOR_STATE  State;       ///< State of this neighbor cache entry. \r
+  EFI_MAC_ADDRESS         LinkAddress; ///< Link-layer address of the neighbor.\r
+  EFI_IP6_NEIGHBOR_STATE  State;       ///< State of this neighbor cache entry.\r
 } EFI_IP6_NEIGHBOR_CACHE;\r
 \r
 ///\r
 /// EFI_IP6_ICMP_TYPE\r
-/// is used to describe those ICMP messages that are supported by this EFI \r
+/// is used to describe those ICMP messages that are supported by this EFI\r
 /// IPv6 Protocol driver.\r
 ///\r
 typedef struct {\r
   UINT8                   Type;   ///< The type of ICMP message.\r
   UINT8                   Code;   ///< The code of the ICMP message.\r
-} EFI_IP6_ICMP_TYPE;                       \r
+} EFI_IP6_ICMP_TYPE;\r
 \r
 ///\r
 /// EFI_IP6_MODE_DATA\r
 ///\r
-typedef struct {  \r
+typedef struct {\r
   ///\r
-  /// Set to TRUE after this EFI IPv6 Protocol instance is started. \r
-  /// All other fields in this structure are undefined until this field is TRUE. \r
+  /// Set to TRUE after this EFI IPv6 Protocol instance is started.\r
+  /// All other fields in this structure are undefined until this field is TRUE.\r
   /// Set to FALSE when the EFI IPv6 Protocol instance is stopped.\r
-  /// \r
+  ///\r
   BOOLEAN                 IsStarted;\r
   ///\r
   /// The maximum packet size, in bytes, of the packet which the upper layer driver could feed.\r
   ///\r
   UINT32                  MaxPacketSize;\r
-  /// \r
+  ///\r
   /// Current configuration settings. Undefined until IsStarted is TRUE.\r
   ///\r
   EFI_IP6_CONFIG_DATA     ConfigData;\r
-  /// \r
-  /// Set to TRUE when the EFI IPv6 Protocol instance is configured. \r
-  /// The instance is configured when it has a station address and \r
-  /// corresponding prefix length. \r
+  ///\r
+  /// Set to TRUE when the EFI IPv6 Protocol instance is configured.\r
+  /// The instance is configured when it has a station address and\r
+  /// corresponding prefix length.\r
   /// Set to FALSE when the EFI IPv6 Protocol instance is not configured.\r
   ///\r
   BOOLEAN                 IsConfigured;\r
-  /// \r
-  /// Number of configured IPv6 addresses on this interface. \r
+  ///\r
+  /// Number of configured IPv6 addresses on this interface.\r
   ///\r
   UINT32                  AddressCount;\r
-  /// \r
-  /// List of currently configured IPv6 addresses and corresponding \r
-  /// prefix lengths assigned to this interface. It is caller's \r
+  ///\r
+  /// List of currently configured IPv6 addresses and corresponding\r
+  /// prefix lengths assigned to this interface. It is caller's\r
   /// responsibility to free this buffer.\r
-  /// \r
+  ///\r
   EFI_IP6_ADDRESS_INFO    *AddressList;\r
-  /// \r
-  /// Number of joined multicast groups. Undefined until \r
+  ///\r
+  /// Number of joined multicast groups. Undefined until\r
   /// IsConfigured is TRUE.\r
   ///\r
   UINT32                  GroupCount;\r
-  /// \r
-  /// List of joined multicast group addresses. It is caller's \r
-  /// responsibility to free this buffer. Undefined until \r
+  ///\r
+  /// List of joined multicast group addresses. It is caller's\r
+  /// responsibility to free this buffer. Undefined until\r
   /// IsConfigured is TRUE.\r
   ///\r
   EFI_IPv6_ADDRESS        *GroupTable;\r
-  /// \r
-  /// Number of entries in the routing table. Undefined until \r
+  ///\r
+  /// Number of entries in the routing table. Undefined until\r
   /// IsConfigured is TRUE.\r
   ///\r
   UINT32                  RouteCount;\r
-  /// \r
+  ///\r
   /// Routing table entries. It is caller's responsibility to free this buffer.\r
   ///\r
   EFI_IP6_ROUTE_TABLE     *RouteTable;\r
   ///\r
-  /// Number of entries in the neighbor cache. Undefined until \r
+  /// Number of entries in the neighbor cache. Undefined until\r
   /// IsConfigured is TRUE.\r
   ///\r
   UINT32                  NeighborCount;\r
-  /// \r
-  /// Neighbor cache entries. It is caller's responsibility to free this \r
-  /// buffer. Undefined until IsConfigured is TRUE. \r
   ///\r
-  EFI_IP6_NEIGHBOR_CACHE  *NeighborCache;  \r
-  /// \r
-  /// Number of entries in the prefix table. Undefined until \r
+  /// Neighbor cache entries. It is caller's responsibility to free this\r
+  /// buffer. Undefined until IsConfigured is TRUE.\r
+  ///\r
+  EFI_IP6_NEIGHBOR_CACHE  *NeighborCache;\r
+  ///\r
+  /// Number of entries in the prefix table. Undefined until\r
   /// IsConfigured is TRUE.\r
   ///\r
   UINT32                  PrefixCount;\r
-  /// \r
-  /// On-link Prefix table entries. It is caller's responsibility to free this \r
-  /// buffer. Undefined until IsConfigured is TRUE. \r
+  ///\r
+  /// On-link Prefix table entries. It is caller's responsibility to free this\r
+  /// buffer. Undefined until IsConfigured is TRUE.\r
   ///\r
   EFI_IP6_ADDRESS_INFO    *PrefixTable;\r
-  /// \r
+  ///\r
   /// Number of entries in the supported ICMP types list.\r
   ///\r
   UINT32                  IcmpTypeCount;\r
-  /// \r
-  /// Array of ICMP types and codes that are supported by this EFI \r
-  /// IPv6 Protocol driver. It is caller's responsibility to free this \r
+  ///\r
+  /// Array of ICMP types and codes that are supported by this EFI\r
+  /// IPv6 Protocol driver. It is caller's responsibility to free this\r
   /// buffer.\r
   ///\r
   EFI_IP6_ICMP_TYPE       *IcmpTypeList;\r
@@ -403,7 +403,7 @@ typedef struct _EFI_IP6_HEADER {
   UINT8                   TrafficClassH:4;\r
   UINT8                   Version:4;\r
   UINT8                   FlowLabelH:4;\r
-  UINT8                   TrafficClassL:4;  \r
+  UINT8                   TrafficClassL:4;\r
   UINT16                  FlowLabelL;\r
   UINT16                  PayloadLength;\r
   UINT8                   NextHeader;\r
@@ -415,7 +415,7 @@ typedef struct _EFI_IP6_HEADER {
 \r
 ///\r
 /// EFI_IP6_FRAGMENT_DATA\r
-/// describes the location and length of the IPv6 packet \r
+/// describes the location and length of the IPv6 packet\r
 /// fragment to transmit or that has been received.\r
 ///\r
 typedef struct _EFI_IP6_FRAGMENT_DATA {\r
@@ -427,93 +427,93 @@ typedef struct _EFI_IP6_FRAGMENT_DATA {
 /// EFI_IP6_RECEIVE_DATA\r
 ///\r
 typedef struct _EFI_IP6_RECEIVE_DATA {\r
-  /// \r
-  /// Time when the EFI IPv6 Protocol driver accepted the packet. \r
+  ///\r
+  /// Time when the EFI IPv6 Protocol driver accepted the packet.\r
   /// Ignored if it is zero.\r
-  /// \r
+  ///\r
   EFI_TIME                TimeStamp;\r
-  /// \r
-  /// After this event is signaled, the receive data structure is released \r
+  ///\r
+  /// After this event is signaled, the receive data structure is released\r
   /// and must not be referenced.\r
-  /// \r
+  ///\r
   EFI_EVENT               RecycleSignal;\r
   ///\r
-  ///Length of the IPv6 packet headers, including both the IPv6 \r
-  ///header and any extension headers. \r
+  ///Length of the IPv6 packet headers, including both the IPv6\r
+  ///header and any extension headers.\r
   ///\r
   UINT32                  HeaderLength;\r
-  /// \r
-  /// Pointer to the IPv6 packet header. If the IPv6 packet was \r
-  /// fragmented, this argument is a pointer to the header in the first \r
-  /// fragment. \r
-  /// \r
+  ///\r
+  /// Pointer to the IPv6 packet header. If the IPv6 packet was\r
+  /// fragmented, this argument is a pointer to the header in the first\r
+  /// fragment.\r
+  ///\r
   EFI_IP6_HEADER          *Header;\r
-  /// \r
-  /// Sum of the lengths of IPv6 packet buffers in FragmentTable. May \r
+  ///\r
+  /// Sum of the lengths of IPv6 packet buffers in FragmentTable. May\r
   /// be zero.\r
-  /// \r
+  ///\r
   UINT32                  DataLength;\r
-  /// \r
+  ///\r
   /// Number of IPv6 payload fragments. May be zero.\r
-  /// \r
+  ///\r
   UINT32                  FragmentCount;\r
-  /// \r
+  ///\r
   /// Array of payload fragment lengths and buffer pointers.\r
-  /// \r
+  ///\r
   EFI_IP6_FRAGMENT_DATA   FragmentTable[1];\r
 } EFI_IP6_RECEIVE_DATA;\r
 \r
 ///\r
 /// EFI_IP6_OVERRIDE_DATA\r
-/// The information and flags in the override data structure will override \r
-/// default parameters or settings for one Transmit() function call.                                                                     \r
+/// The information and flags in the override data structure will override\r
+/// default parameters or settings for one Transmit() function call.\r
 ///\r
 typedef struct _EFI_IP6_OVERRIDE_DATA {\r
   UINT8                   Protocol;   ///< Protocol type override.\r
   UINT8                   HopLimit;   ///< Hop-Limit override.\r
   UINT32                  FlowLabel;  ///< Flow-Label override.\r
 } EFI_IP6_OVERRIDE_DATA;\r
-          \r
+\r
 ///\r
-/// EFI_IP6_TRANSMIT_DATA \r
+/// EFI_IP6_TRANSMIT_DATA\r
 ///\r
-typedef struct _EFI_IP6_TRANSMIT_DATA {   \r
-  /// \r
-  /// The destination IPv6 address.  If it is unspecified, \r
+typedef struct _EFI_IP6_TRANSMIT_DATA {\r
+  ///\r
+  /// The destination IPv6 address.  If it is unspecified,\r
   /// ConfigData.DestinationAddress will be used instead.\r
-  /// \r
+  ///\r
   EFI_IPv6_ADDRESS        DestinationAddress;\r
-  /// \r
+  ///\r
   /// If not NULL, the IPv6 transmission control override data.\r
-  /// \r
+  ///\r
   EFI_IP6_OVERRIDE_DATA   *OverrideData;\r
-  /// \r
-  /// Total length in byte of the IPv6 extension headers specified in \r
+  ///\r
+  /// Total length in byte of the IPv6 extension headers specified in\r
   /// ExtHdrs.\r
-  /// \r
+  ///\r
   UINT32                  ExtHdrsLength;\r
-  /// \r
-  /// Pointer to the IPv6 extension headers. The IP layer will append \r
-  /// the required extension headers if they are not specified by \r
+  ///\r
+  /// Pointer to the IPv6 extension headers. The IP layer will append\r
+  /// the required extension headers if they are not specified by\r
   /// ExtHdrs. Ignored if ExtHdrsLength is zero.\r
-  /// \r
+  ///\r
   VOID                    *ExtHdrs;\r
-  /// \r
-  /// The protocol of first extension header in ExtHdrs. Ignored if \r
+  ///\r
+  /// The protocol of first extension header in ExtHdrs. Ignored if\r
   /// ExtHdrsLength is zero.\r
-  /// \r
+  ///\r
   UINT8                   NextHeader;\r
-  ///   \r
+  ///\r
   /// Total length in bytes of the FragmentTable data to transmit.\r
-  /// \r
+  ///\r
   UINT32                  DataLength;\r
-  /// \r
+  ///\r
   /// Number of entries in the fragment data table.\r
-  /// \r
+  ///\r
   UINT32                  FragmentCount;\r
-  /// \r
+  ///\r
   /// Start of the fragment data table.\r
-  /// \r
+  ///\r
   EFI_IP6_FRAGMENT_DATA   FragmentTable[1];\r
 } EFI_IP6_TRANSMIT_DATA;\r
 \r
@@ -523,21 +523,22 @@ typedef struct _EFI_IP6_TRANSMIT_DATA {
 ///\r
 typedef struct {\r
   ///\r
-  /// This Event will be signaled after the Status field is updated by \r
+  /// This Event will be signaled after the Status field is updated by\r
   /// the EFI IPv6 Protocol driver. The type of Event must be EFI_NOTIFY_SIGNAL.\r
   ///\r
   EFI_EVENT               Event;\r
   ///\r
   /// Will be set to one of the following values:\r
-  /// - EFI_SUCCESS:  The receive or transmit completed \r
+  /// - EFI_SUCCESS:  The receive or transmit completed\r
   ///   successfully.\r
   /// - EFI_ABORTED:  The receive or transmit was aborted\r
   /// - EFI_TIMEOUT:  The transmit timeout expired.\r
   /// - EFI_ICMP_ERROR:  An ICMP error packet was received.\r
-  /// - EFI_DEVICE_ERROR:  An unexpected system or network \r
+  /// - EFI_DEVICE_ERROR:  An unexpected system or network\r
   ///   error occurred.\r
-  /// - EFI_SECURITY_VIOLATION: The transmit or receive was \r
+  /// - EFI_SECURITY_VIOLATION: The transmit or receive was\r
   ///   failed because of an IPsec policy check.\r
+  /// - EFI_NO_MEDIA: There was a media error.\r
   ///\r
   EFI_STATUS              Status;\r
   union {\r
@@ -554,22 +555,22 @@ typedef struct {
 \r
 /**\r
   Gets the current operational settings for this instance of the EFI IPv6 Protocol driver.\r
-  \r
-  The GetModeData() function returns the current operational mode data for this driver instance. \r
-  The data fields in EFI_IP6_MODE_DATA are read only. This function is used optionally to \r
+\r
+  The GetModeData() function returns the current operational mode data for this driver instance.\r
+  The data fields in EFI_IP6_MODE_DATA are read only. This function is used optionally to\r
   retrieve the operational mode data of underlying networks or drivers..\r
 \r
   @param[in]  This               Pointer to the EFI_IP6_PROTOCOL instance.\r
   @param[out] Ip6ModeData        Pointer to the EFI IPv6 Protocol mode data structure.\r
   @param[out] MnpConfigData      Pointer to the managed network configuration data structure.\r
   @param[out] SnpModeData        Pointer to the simple network mode data structure.\r
-                                 \r
+\r
   @retval EFI_SUCCESS            The operation completed successfully.\r
   @retval EFI_INVALID_PARAMETER  This is NULL.\r
   @retval EFI_OUT_OF_RESOURCES   The required mode data could not be allocated.\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_GET_MODE_DATA)(\r
   IN EFI_IP6_PROTOCOL                 *This,\r
@@ -580,51 +581,51 @@ EFI_STATUS
 \r
 /**\r
   Assigns an IPv6 address and subnet mask to this EFI IPv6 Protocol driver instance.\r
-  \r
-  The Configure() function is used to set, change, or reset the operational parameters and filter \r
-  settings for this EFI IPv6 Protocol instance. Until these parameters have been set, no network traffic \r
-  can be sent or received by this instance. Once the parameters have been reset (by calling this \r
-  function with Ip6ConfigData set to NULL), no more traffic can be sent or received until these \r
-  parameters have been set again. Each EFI IPv6 Protocol instance can be started and stopped \r
-  independently of each other by enabling or disabling their receive filter settings with the \r
+\r
+  The Configure() function is used to set, change, or reset the operational parameters and filter\r
+  settings for this EFI IPv6 Protocol instance. Until these parameters have been set, no network traffic\r
+  can be sent or received by this instance. Once the parameters have been reset (by calling this\r
+  function with Ip6ConfigData set to NULL), no more traffic can be sent or received until these\r
+  parameters have been set again. Each EFI IPv6 Protocol instance can be started and stopped\r
+  independently of each other by enabling or disabling their receive filter settings with the\r
   Configure() function.\r
-  \r
-  If Ip6ConfigData.StationAddress is a valid non-zero IPv6 unicast address, it is required \r
-  to be one of the currently configured IPv6 addresses list in the EFI IPv6 drivers, or else \r
-  EFI_INVALID_PARAMETER will be returned. If Ip6ConfigData.StationAddress is \r
-  unspecified, the IPv6 driver will bind a source address according to the source address selection \r
-  algorithm. Clients could frequently call GetModeData() to check get currently configured IPv6 \r
-  address list in the EFI IPv6 driver. If both Ip6ConfigData.StationAddress and \r
-  Ip6ConfigData.Destination are unspecified, when transmitting the packet afterwards, the \r
+\r
+  If Ip6ConfigData.StationAddress is a valid non-zero IPv6 unicast address, it is required\r
+  to be one of the currently configured IPv6 addresses list in the EFI IPv6 drivers, or else\r
+  EFI_INVALID_PARAMETER will be returned. If Ip6ConfigData.StationAddress is\r
+  unspecified, the IPv6 driver will bind a source address according to the source address selection\r
+  algorithm. Clients could frequently call GetModeData() to check get currently configured IPv6\r
+  address list in the EFI IPv6 driver. If both Ip6ConfigData.StationAddress and\r
+  Ip6ConfigData.Destination are unspecified, when transmitting the packet afterwards, the\r
   source address filled in each outgoing IPv6 packet is decided based on the destination of this packet. .\r
-  \r
-  If operational parameters are reset or changed, any pending transmit and receive requests will be \r
-  cancelled. Their completion token status will be set to EFI_ABORTED and their events will be \r
+\r
+  If operational parameters are reset or changed, any pending transmit and receive requests will be\r
+  cancelled. Their completion token status will be set to EFI_ABORTED and their events will be\r
   signaled.\r
 \r
   @param[in]  This               Pointer to the EFI_IP6_PROTOCOL instance.\r
   @param[in]  Ip6ConfigData      Pointer to the EFI IPv6 Protocol configuration data structure.\r
-                                 \r
+\r
   @retval EFI_SUCCESS            The driver instance was successfully opened.\r
   @retval EFI_INVALID_PARAMETER  One or more of the following conditions is TRUE:\r
                                  - This is NULL.\r
-                                 - Ip6ConfigData.StationAddress is neither zero nor \r
+                                 - Ip6ConfigData.StationAddress is neither zero nor\r
                                    a unicast IPv6 address.\r
-                                 - Ip6ConfigData.StationAddress is neither zero nor \r
+                                 - Ip6ConfigData.StationAddress is neither zero nor\r
                                    one of the configured IP addresses in the EFI IPv6 driver.\r
-                                 - Ip6ConfigData.DefaultProtocol is illegal. \r
+                                 - Ip6ConfigData.DefaultProtocol is illegal.\r
   @retval EFI_OUT_OF_RESOURCES   The EFI IPv6 Protocol driver instance data could not be allocated.\r
-  @retval EFI_NO_MAPPING         The IPv6 driver was responsible for choosing a source address for \r
-                                 this instance, but no source address was available for use. \r
-  @retval EFI_ALREADY_STARTED    The interface is already open and must be stopped before the IPv6 \r
+  @retval EFI_NO_MAPPING         The IPv6 driver was responsible for choosing a source address for\r
+                                 this instance, but no source address was available for use.\r
+  @retval EFI_ALREADY_STARTED    The interface is already open and must be stopped before the IPv6\r
                                  address or prefix length can be changed.\r
-  @retval EFI_DEVICE_ERROR       An unexpected system or network error occurred. The EFI IPv6 \r
+  @retval EFI_DEVICE_ERROR       An unexpected system or network error occurred. The EFI IPv6\r
                                  Protocol driver instance is not opened.\r
-  @retval EFI_UNSUPPORTED        Default protocol specified through \r
+  @retval EFI_UNSUPPORTED        Default protocol specified through\r
                                  Ip6ConfigData.DefaulProtocol isn't supported.\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_CONFIGURE)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
@@ -633,24 +634,24 @@ EFI_STATUS
 \r
 /**\r
   Joins and leaves multicast groups.\r
-  \r
-  The Groups() function is used to join and leave multicast group sessions. Joining a group will \r
-  enable reception of matching multicast packets. Leaving a group will disable reception of matching \r
+\r
+  The Groups() function is used to join and leave multicast group sessions. Joining a group will\r
+  enable reception of matching multicast packets. Leaving a group will disable reception of matching\r
   multicast packets. Source-Specific Multicast isn't required to be supported.\r
-  \r
+\r
   If JoinFlag is FALSE and GroupAddress is NULL, all joined groups will be left.\r
 \r
   @param[in]  This               Pointer to the EFI_IP6_PROTOCOL instance.\r
   @param[in]  JoinFlag           Set to TRUE to join the multicast group session and FALSE to leave.\r
   @param[in]  GroupAddress       Pointer to the IPv6 multicast address.\r
-                                 \r
+\r
   @retval EFI_SUCCESS            The operation completed successfully.\r
   @retval EFI_INVALID_PARAMETER  One or more of the following is TRUE:\r
                                  - This is NULL.\r
                                  - JoinFlag is TRUE and GroupAddress is NULL.\r
                                  - GroupAddress is not NULL and *GroupAddress is\r
-                                   not a multicast IPv6 address.  \r
-                                 - GroupAddress is not NULL and *GroupAddress is in the \r
+                                   not a multicast IPv6 address.\r
+                                 - GroupAddress is not NULL and *GroupAddress is in the\r
                                    range of SSM destination address.\r
   @retval EFI_NOT_STARTED        This instance has not been started.\r
   @retval EFI_OUT_OF_RESOURCES   System resources could not be allocated.\r
@@ -661,7 +662,7 @@ EFI_STATUS
   @retval EFI_DEVICE_ERROR       An unexpected system or network error occurred.\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_GROUPS)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
@@ -673,23 +674,23 @@ EFI_STATUS
   Adds and deletes routing table entries.\r
 \r
   The Routes() function adds a route to or deletes a route from the routing table.\r
-  \r
-  Routes are determined by comparing the leftmost PrefixLength bits of Destination with \r
+\r
+  Routes are determined by comparing the leftmost PrefixLength bits of Destination with\r
   the destination IPv6 address arithmetically. The gateway address must be on the same subnet as the\r
   configured station address.\r
-  \r
-  The default route is added with Destination and PrefixLegth both set to all zeros. The \r
+\r
+  The default route is added with Destination and PrefixLegth both set to all zeros. The\r
   default route matches all destination IPv6 addresses that do not match any other routes.\r
 \r
   All EFI IPv6 Protocol instances share a routing table.\r
-  \r
+\r
   @param[in]  This               Pointer to the EFI_IP6_PROTOCOL instance.\r
-  @param[in]  DeleteRoute        Set to TRUE to delete this route from the routing table. Set to \r
-                                 FALSE to add this route to the routing table. Destination, \r
-                                 PrefixLength and Gateway are used as the key to each \r
+  @param[in]  DeleteRoute        Set to TRUE to delete this route from the routing table. Set to\r
+                                 FALSE to add this route to the routing table. Destination,\r
+                                 PrefixLength and Gateway are used as the key to each\r
                                  route entry.\r
   @param[in]  Destination        The address prefix of the subnet that needs to be routed.\r
-  @param[in]  PrefixLength       The prefix length of Destination. Ignored if Destination \r
+  @param[in]  PrefixLength       The prefix length of Destination. Ignored if Destination\r
                                  is NULL.\r
   @param[in]  GatewayAddress     The unicast gateway IPv6 address for this route.\r
 \r
@@ -697,55 +698,55 @@ EFI_STATUS
   @retval EFI_NOT_STARTED        The driver instance has not been started.\r
   @retval EFI_INVALID_PARAMETER  One or more of the following conditions is TRUE:\r
                                  - This is NULL.\r
-                                 - When DeleteRoute is TRUE, both Destination and \r
+                                 - When DeleteRoute is TRUE, both Destination and\r
                                    GatewayAddress are NULL.\r
-                                 - When DeleteRoute is FALSE, either Destination or \r
+                                 - When DeleteRoute is FALSE, either Destination or\r
                                    GatewayAddress is NULL.\r
                                  - *GatewayAddress is not a valid unicast IPv6 address.\r
-                                 - *GatewayAddress is one of the local configured IPv6 \r
+                                 - *GatewayAddress is one of the local configured IPv6\r
                                    addresses.\r
   @retval EFI_OUT_OF_RESOURCES   Could not add the entry to the routing table.\r
   @retval EFI_NOT_FOUND          This route is not in the routing table (when DeleteRoute is TRUE).\r
   @retval EFI_ACCESS_DENIED      The route is already defined in the routing table (when\r
                                  DeleteRoute is FALSE).\r
-                                 \r
+\r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_ROUTES)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
   IN BOOLEAN                     DeleteRoute,\r
   IN EFI_IPv6_ADDRESS            *Destination OPTIONAL,\r
   IN UINT8                       PrefixLength,\r
-  IN EFI_IPv6_ADDRESS            *GatewayAddress OPTIONAL \r
+  IN EFI_IPv6_ADDRESS            *GatewayAddress OPTIONAL\r
   );\r
 \r
 /**\r
   Add or delete Neighbor cache entries.\r
 \r
-  The Neighbors() function is used to add, update, or delete an entry from neighbor cache. \r
-  IPv6 neighbor cache entries are typically inserted and updated by the network protocol driver as \r
-  network traffic is processed. Most neighbor cache entries will time out and be deleted if the network \r
-  traffic stops. Neighbor cache entries that were inserted by Neighbors() may be static (will not \r
+  The Neighbors() function is used to add, update, or delete an entry from neighbor cache.\r
+  IPv6 neighbor cache entries are typically inserted and updated by the network protocol driver as\r
+  network traffic is processed. Most neighbor cache entries will time out and be deleted if the network\r
+  traffic stops. Neighbor cache entries that were inserted by Neighbors() may be static (will not\r
   timeout) or dynamic (will time out).\r
-       \r
-  The implementation should follow the neighbor cache timeout mechanism which is defined in \r
-  RFC4861. The default neighbor cache timeout value should be tuned for the expected network \r
+\r
+  The implementation should follow the neighbor cache timeout mechanism which is defined in\r
+  RFC4861. The default neighbor cache timeout value should be tuned for the expected network\r
   environment\r
 \r
   @param[in]  This               Pointer to the EFI_IP6_PROTOCOL instance.\r
-  @param[in]  DeleteFlag         Set to TRUE to delete the specified cache entry, set to FALSE to \r
-                                 add (or update, if it already exists and Override is TRUE) the \r
-                                 specified cache entry. TargetIp6Address is used as the key \r
+  @param[in]  DeleteFlag         Set to TRUE to delete the specified cache entry, set to FALSE to\r
+                                 add (or update, if it already exists and Override is TRUE) the\r
+                                 specified cache entry. TargetIp6Address is used as the key\r
                                  to find the requested cache entry.\r
   @param[in]  TargetIp6Address   Pointer to Target IPv6 address.\r
-  @param[in]  TargetLinkAddress  Pointer to link-layer address of the target. Ignored if NULL. \r
-  @param[in]  Timeout            Time in 100-ns units that this entry will remain in the neighbor \r
-                                 cache, it will be deleted after Timeout. A value of zero means that \r
-                                 the entry is permanent. A non-zero value means that the entry is \r
-                                 dynamic. \r
-  @param[in]  Override           If TRUE, the cached link-layer address of the matching entry will \r
-                                 be overridden and updated; if FALSE, EFI_ACCESS_DENIED \r
+  @param[in]  TargetLinkAddress  Pointer to link-layer address of the target. Ignored if NULL.\r
+  @param[in]  Timeout            Time in 100-ns units that this entry will remain in the neighbor\r
+                                 cache, it will be deleted after Timeout. A value of zero means that\r
+                                 the entry is permanent. A non-zero value means that the entry is\r
+                                 dynamic.\r
+  @param[in]  Override           If TRUE, the cached link-layer address of the matching entry will\r
+                                 be overridden and updated; if FALSE, EFI_ACCESS_DENIED\r
                                  will be returned if a corresponding cache entry already existed.\r
 \r
   @retval  EFI_SUCCESS           The data has been queued for transmission.\r
@@ -755,18 +756,18 @@ EFI_STATUS
                                  - TargetIpAddress is NULL.\r
                                  - *TargetLinkAddress is invalid when not NULL.\r
                                  - *TargetIpAddress is not a valid unicast IPv6 address.\r
-                                 - *TargetIpAddress is one of the local configured IPv6 \r
+                                 - *TargetIpAddress is one of the local configured IPv6\r
                                    addresses.\r
   @retval  EFI_OUT_OF_RESOURCES  Could not add the entry to the neighbor cache.\r
-  @retval  EFI_NOT_FOUND         This entry is not in the neighbor cache (when DeleteFlag  is \r
-                                 TRUE or when DeleteFlag  is FALSE while \r
+  @retval  EFI_NOT_FOUND         This entry is not in the neighbor cache (when DeleteFlag  is\r
+                                 TRUE or when DeleteFlag  is FALSE while\r
                                  TargetLinkAddress is NULL.).\r
-  @retval  EFI_ACCESS_DENIED     The to-be-added entry is already defined in the neighbor cache, \r
-                                 and that entry is tagged as un-overridden (when DeleteFlag \r
+  @retval  EFI_ACCESS_DENIED     The to-be-added entry is already defined in the neighbor cache,\r
+                                 and that entry is tagged as un-overridden (when DeleteFlag\r
                                  is FALSE).\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_NEIGHBORS)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
@@ -789,7 +790,7 @@ EFI_STATUS
 \r
   @retval  EFI_SUCCESS           The data has been queued for transmission.\r
   @retval  EFI_NOT_STARTED       This instance has not been started.\r
-  @retval  EFI_NO_MAPPING        The IPv6 driver was responsible for choosing a source address for \r
+  @retval  EFI_NO_MAPPING        The IPv6 driver was responsible for choosing a source address for\r
                                  this transmission, but no source address was available for use.\r
   @retval  EFI_INVALID_PARAMETER One or more of the following is TRUE:\r
                                  - This is NULL.\r
@@ -801,25 +802,25 @@ EFI_STATUS
                                  - One or more of the Token.Packet.TxData.FragmentTable[].FragmentLength fields is zero.\r
                                  - One or more of the Token.Packet.TxData.FragmentTable[].FragmentBuffer fields is NULL.\r
                                  - Token.Packet.TxData.DataLength is zero or not equal to the sum of fragment lengths.\r
-                                 - Token.Packet.TxData.DestinationAddress is non-zero when DestinationAddress is configured as \r
+                                 - Token.Packet.TxData.DestinationAddress is non-zero when DestinationAddress is configured as\r
                                    non-zero when doing Configure() for this EFI IPv6 protocol instance.\r
-                                 - Token.Packet.TxData.DestinationAddress is unspecified when DestinationAddress is unspecified \r
+                                 - Token.Packet.TxData.DestinationAddress is unspecified when DestinationAddress is unspecified\r
                                    when doing Configure() for this EFI IPv6 protocol instance.\r
   @retval  EFI_ACCESS_DENIED     The transmit completion token with the same Token.Event\r
                                  was already in the transmit queue.\r
   @retval  EFI_NOT_READY         The completion token could not be queued because the transmit\r
-                                 queue is full. \r
+                                 queue is full.\r
   @retval  EFI_NOT_FOUND         Not route is found to destination address.\r
   @retval  EFI_OUT_OF_RESOURCES  Could not queue the transmit data.\r
   @retval  EFI_BUFFER_TOO_SMALL  Token.Packet.TxData.TotalDataLength is too\r
                                  short to transmit.\r
-  @retval  EFI_BAD_BUFFER_SIZE   If Token.Packet.TxData.DataLength is beyond the \r
+  @retval  EFI_BAD_BUFFER_SIZE   If Token.Packet.TxData.DataLength is beyond the\r
                                  maximum that which can be described through the Fragment Offset\r
                                  field in Fragment header when performing fragmentation.\r
   @retval EFI_DEVICE_ERROR       An unexpected system or network error occurred.\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_TRANSMIT)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
@@ -828,10 +829,10 @@ EFI_STATUS
 \r
 /**\r
   Places a receiving request into the receiving queue.\r
-  \r
+\r
   The Receive() function places a completion token into the receive packet queue.\r
   This function is always asynchronous.\r
-  \r
+\r
   The Token.Event field in the completion token must be filled in by the caller\r
   and cannot be NULL. When the receive operation completes, the EFI IPv6 Protocol\r
   driver updates the Token.Status and Token.Packet.RxData fields and the Token.Event\r
@@ -839,10 +840,10 @@ EFI_STATUS
 \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
-                                 \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
-  @retval EFI_NO_MAPPING         When IP6 driver responsible for binding source address to this instance, \r
+  @retval EFI_NO_MAPPING         When IP6 driver responsible for binding source address to this instance,\r
                                  while no source address is available for use.\r
   @retval EFI_INVALID_PARAMETER  One or more of the following conditions is TRUE:\r
                                  - This is NULL.\r
@@ -855,18 +856,18 @@ EFI_STATUS
   @retval EFI_ACCESS_DENIED      The receive completion token with the same Token.Event was already\r
                                  in the receive queue.\r
   @retval EFI_NOT_READY          The receive request could not be queued because the receive queue is full.\r
-                                 \r
-**/                              \r
-typedef                          \r
-EFI_STATUS                       \r
-(EFIAPI *EFI_IP6_RECEIVE)(      \r
+\r
+**/\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *EFI_IP6_RECEIVE)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
   IN EFI_IP6_COMPLETION_TOKEN    *Token\r
   );\r
 \r
 /**\r
   Abort an asynchronous transmit or receive request.\r
-  \r
+\r
   The Cancel() function is used to abort a pending transmit or receive request.\r
   If the token is in the transmit or receive request queues, after calling this\r
   function, Token->Status will be set to EFI_ABORTED and then Token->Event will\r
@@ -880,7 +881,7 @@ EFI_STATUS
                                  EFI_IP6_PROTOCOL.Receive(). If NULL, all pending\r
                                  tokens are aborted. Type EFI_IP6_COMPLETION_TOKEN is\r
                                  defined in EFI_IP6_PROTOCOL.Transmit().\r
-                                 \r
+\r
   @retval EFI_SUCCESS            The asynchronous I/O request was aborted and\r
                                  Token->Event was signaled. When Token is NULL, all\r
                                  pending requests were aborted and their events were signaled.\r
@@ -890,23 +891,23 @@ EFI_STATUS
                                  not found in the transmit or receive queue. It has either completed\r
                                  or was not issued by Transmit() and Receive().\r
   @retval EFI_DEVICE_ERROR       An unexpected system or network error occurred.\r
-                                 \r
-**/                              \r
-typedef                          \r
-EFI_STATUS                       \r
-(EFIAPI *EFI_IP6_CANCEL)(        \r
+\r
+**/\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *EFI_IP6_CANCEL)(\r
   IN EFI_IP6_PROTOCOL            *This,\r
   IN EFI_IP6_COMPLETION_TOKEN    *Token    OPTIONAL\r
   );\r
 \r
 /**\r
   Polls for incoming data packets and processes outgoing data packets.\r
-  \r
+\r
   The Poll() function polls for incoming data packets and processes outgoing data\r
   packets. Network drivers and applications can call the EFI_IP6_PROTOCOL.Poll()\r
   function to increase the rate that data packets are moved between the communications\r
   device and the transmit and receive queues.\r
-  \r
+\r
   In some systems the periodic timer event may not poll the underlying communications\r
   device fast enough to transmit and/or receive all data packets without missing\r
   incoming packets or dropping outgoing packets. Drivers and applications that are\r
@@ -924,7 +925,7 @@ EFI_STATUS
                                  Consider increasing the polling rate.\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_IP6_POLL)(\r
   IN EFI_IP6_PROTOCOL            *This\r