]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/TcpIoLib.h
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Include / Library / TcpIoLib.h
index 22629dbcd5596d5361776276c793f0467e1735ba..e73bec2ee2ab12ec50449e040da36372ac27bd3c 100644 (file)
@@ -2,7 +2,7 @@
   This library is used to share code between UEFI network stack modules.\r
   It provides the helper routines to access TCP service.\r
 \r
-Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2018, 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<BR>\r
@@ -85,7 +85,7 @@ typedef struct {
   EFI_HANDLE                Image;\r
   EFI_HANDLE                Controller;\r
   EFI_HANDLE                Handle;\r
-  \r
+\r
   TCP_IO_PROTOCOL           Tcp;\r
   TCP_IO_PROTOCOL           NewTcp;\r
   TCP_IO_CONNECTION_TOKEN   ConnToken;\r
@@ -93,7 +93,7 @@ typedef struct {
   TCP_IO_IO_TOKEN           RxToken;\r
   TCP_IO_CLOSE_TOKEN        CloseToken;\r
   TCP_IO_LISTEN_TOKEN       ListenToken;\r
-  \r
+\r
   BOOLEAN                   IsConnDone;\r
   BOOLEAN                   IsTxDone;\r
   BOOLEAN                   IsRxDone;\r
@@ -102,14 +102,14 @@ typedef struct {
 } TCP_IO;\r
 \r
 /**\r
-  Create a TCP socket with the specified configuration data. \r
+  Create a TCP socket with the specified configuration data.\r
 \r
   @param[in]  Image      The handle of the driver image.\r
   @param[in]  Controller The handle of the controller.\r
   @param[in]  TcpVersion The version of Tcp, TCP_VERSION_4 or TCP_VERSION_6.\r
   @param[in]  ConfigData The Tcp configuration data.\r
   @param[out] TcpIo      The TcpIo.\r
-  \r
+\r
   @retval EFI_SUCCESS            The TCP socket is created and configured.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
   @retval EFI_UNSUPPORTED        One or more of the control options are not\r
@@ -129,7 +129,7 @@ TcpIoCreateSocket (
   );\r
 \r
 /**\r
-  Destroy the socket. \r
+  Destroy the socket.\r
 \r
   @param[in]  TcpIo The TcpIo which wraps the socket to be destroyed.\r
 \r
@@ -145,7 +145,7 @@ TcpIoDestroySocket (
 \r
   @param[in, out]  TcpIo     The TcpIo wrapping the TCP socket.\r
   @param[in]       Timeout   The time to wait for connection done. Set to NULL for infinite wait.\r
-  \r
+\r
   @retval EFI_SUCCESS            Connect to the other endpoint of the TCP socket\r
                                  successfully.\r
   @retval EFI_TIMEOUT            Failed to connect to the other endpoint of the\r
@@ -169,7 +169,7 @@ TcpIoConnect (
   @param[in, out]  TcpIo     The TcpIo wrapping the TCP socket.\r
   @param[in]       Timeout   The time to wait for connection done. Set to NULL for infinite wait.\r
 \r
-  \r
+\r
   @retval EFI_SUCCESS            Connect to the other endpoint of the TCP socket\r
                                  successfully.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
@@ -187,7 +187,7 @@ TcpIoAccept (
   IN OUT TCP_IO             *TcpIo,\r
   IN     EFI_EVENT          Timeout        OPTIONAL\r
   );\r
-  \r
+\r
 /**\r
   Reset the socket.\r
 \r
@@ -205,7 +205,7 @@ TcpIoReset (
 \r
   @param[in]   TcpIo           The TcpIo wrapping the TCP socket.\r
   @param[in]   Packet          The packet to transmit.\r
-  \r
+\r
   @retval EFI_SUCCESS            The packet is trasmitted.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
   @retval EFI_UNSUPPORTED        One or more of the control options are not\r