]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Udp6.h
Correct definition to follow spec.
[mirror_edk2.git] / MdePkg / Include / Protocol / Udp6.h
index c7902c2981b0915fd42305e9aec3289ac7e102d5..11120501129c19885be79dbc6a5d114d8f92d31a 100644 (file)
@@ -3,14 +3,17 @@
   the EFI IPv6 Protocol and provides simple packet-oriented services to transmit and receive\r
   UDP packets.\r
 \r
-Copyright (c) 2008 - 2009, 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 - 2010, 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
+  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
@@ -99,12 +102,12 @@ typedef struct {
   ///\r
   UINT16             SourcePort;\r
   ///\r
-  /// Address to which this packet is sent. When sending packet, it¡¯ll be ignored\r
+  /// Address to which this packet is sent. When sending packet, it'll be ignored\r
   /// if it is zero.\r
   ///\r
   EFI_IPv6_ADDRESS   DestinationAddress;\r
   ///\r
-  /// Port to which this packet is sent. When sending packet, it¡¯ll be \r
+  /// Port to which this packet is sent. When sending packet, it'll be \r
   /// ignored if it is zero.\r
   ///\r
   UINT16             DestinationPort;\r
@@ -273,6 +276,7 @@ typedef struct {
   ///     and the destination sent an ICMP source quench report. RxData is set to NULL in this situation.\r
   ///   - EFI_DEVICE_ERROR: An unexpected system or network error occurred.\r
   ///   - EFI_SECURITY_VIOLATION: The transmit or receive was failed because of IPsec policy check.\r
+  ///   - EFI_NO_MEDIA: There was a media error.\r
   ///\r
   EFI_STATUS                            Status;\r
   union {\r
@@ -428,7 +432,7 @@ EFI_STATUS
                                   fields is NULL.\r
                                 - Token.Packet.TxData.UdpSessionData.DestinationAddress is not zero\r
                                   and is not valid unicast Ipv6 address if UdpSessionData is not NULL.\r
-                                - Token.Packet.TxData.UdpSessionData is NULL and this instance¡¯\r
+                                - Token.Packet.TxData.UdpSessionData is NULL and this instance'\r
                                   UdpConfigData.RemoteAddress is unspecified.\r
                                 - Token.Packet.TxData.UdpSessionData.DestinationAddress is non-zero\r
                                   when DestinationAddress is configured as non-zero when doing Configure()\r