]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Udp6.h
MdePkg: Add UEFI2.5 Ramdisk device path definition
[mirror_edk2.git] / MdePkg / Include / Protocol / Udp6.h
index c7902c2981b0915fd42305e9aec3289ac7e102d5..13cce8c4afd4aead8698eb644b5d33e81ed3bb32 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 - 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
+  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
@@ -29,6 +32,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     0x4f948815, 0xb4b9, 0x43cb, {0x8a, 0x33, 0x90, 0xe0, 0x60, 0xb3, 0x49, 0x55 } \\r
   }\r
 \r
+///\r
+/// EFI_UDP6_SERVICE_POINT 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
   /// The EFI UDPv6 Protocol instance handle that is using this address/port pair.\r
@@ -56,6 +63,10 @@ typedef struct {
   UINT16              RemotePort;\r
 } EFI_UDP6_SERVICE_POINT;\r
 \r
+///\r
+/// EFI_UDP6_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
   /// The handle of the driver that creates this entry.\r
@@ -99,12 +110,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 +284,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 +440,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