]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Tcp6.h
According to the latest UEFI 2.3 errata B, the following changes are made:
[mirror_edk2.git] / MdePkg / Include / Protocol / Tcp6.h
index 2cc80fd1fcfb08ccf21c62f5c590be16eeb81961..fc1f9ef04ef198be6c33a34e80fe6b11e7d22f6d 100644 (file)
@@ -4,7 +4,7 @@
   and destroy child of the driver to communicate with other host using TCP protocol.\r
   The EFI TCPv6 Protocol provides services to send and receive data stream.\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
   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
 #ifndef __EFI_TCP6_PROTOCOL_H__\r
 #define __EFI_TCP6_PROTOCOL_H__\r
 \r
-#include <Protocol/Snp.h>\r
 #include <Protocol/ManagedNetwork.h>\r
 #include <Protocol/Ip6.h>\r
 \r
@@ -287,6 +289,9 @@ typedef struct {
   ///                           state is Tcp6StateEstablished.\r
   /// EFI_CONNECTION_RESET:     The connect fails because the connection is reset\r
   ///                           either by instance itself or the communication peer.\r
+  /// EFI_CONNECTION_REFUSED:   The receiving or transmission operation fails because this \r
+  ///                           connection is refused.\r
+  ///                           Note: It is not defined in UEFI 2.3 Specification.\r
   /// EFI_ABORTED:              The active open is aborted.\r
   /// EFI_TIMEOUT:              The connection establishment timer expires and \r
   ///                           no more specific information is available.\r
@@ -302,6 +307,7 @@ typedef struct {
   ///                           out and some other ICMP error is received.\r
   /// EFI_DEVICE_ERROR:         An unexpected system or network error occurred.\r
   /// EFI_SECURITY_VIOLATION:   The active open was failed because of IPSec policy check.\r
+  /// EFI_NO_MEDIA:             There was a media error.\r
   /// \r
   EFI_TCP6_COMPLETION_TOKEN CompletionToken;\r
 } EFI_TCP6_CONNECTION_TOKEN;\r
@@ -407,6 +413,10 @@ typedef struct {
   /// be set to one of the following values:\r
   /// EFI_SUCCESS:              The receiving or transmission operation \r
   ///                           completes successfully.\r
+  /// EFI_CONNECTION_FIN:       The receiving operation fails because the communication peer \r
+  ///                           has closed the connection and there is no more data in the \r
+  ///                           receive buffer of the instance.\r
+  ///                           Note: It is not defined in UEFI 2.3 Specification.\r
   /// EFI_CONNECTION_RESET:     The receiving or transmission operation fails\r
   ///                           because this connection is reset either by instance \r
   ///                           itself or the communication peer.\r
@@ -426,6 +436,7 @@ typedef struct {
   /// EFI_DEVICE_ERROR:         An unexpected system or network error occurs.\r
   /// EFI_SECURITY_VIOLATION:   The receiving or transmission \r
   ///                           operation was failed because of IPSec policy check\r
+  /// EFI_NO_MEDIA:             There was a media error.\r
   ///\r
   EFI_TCP6_COMPLETION_TOKEN CompletionToken;\r
   union {\r
@@ -794,6 +805,7 @@ EFI_STATUS
   @retval EFI_NOT_FOUND          The asynchronous I/O request isn't found in the transmission or \r
                                  receive queue. It has either completed or wasn't issued by \r
                                  Transmit() and Receive().\r
+  @retval EFI_UNSUPPORTED        The implementation does not support this function.\r
 \r
 **/\r
 typedef\r