]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Tcp4Dxe / Tcp4Output.c
index 5a3d837e1dab37e34e79b3074d4a4fe627a1d19e..760b09a1eda1fe58fe4aebb0d29c58a04066790e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   TCP output process routines.\r
-    \r
-Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR>\r
+\r
+Copyright (c) 2005 - 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\r
@@ -687,10 +687,10 @@ TcpRetransmit (
       "TcpRetransmit: retransmission without regard to the receiver window for TCB %p\n",\r
       Tcb)\r
       );\r
-    \r
+\r
   } else if (TCP_SEQ_GEQ (Tcb->SndWl2 + Tcb->SndWnd, Seq)) {\r
     Len = TCP_SUB_SEQ (Tcb->SndWl2 + Tcb->SndWnd, Seq);\r
-    \r
+\r
   } else {\r
     DEBUG (\r
       (EFI_D_WARN,\r
@@ -700,7 +700,7 @@ TcpRetransmit (
 \r
     return 0;\r
   }\r
-  \r
+\r
   Len = MIN (Len, Tcb->SndMss);\r
 \r
   Nbuf = TcpGetSegmentSndQue (Tcb, Seq, Len);\r
@@ -713,7 +713,7 @@ TcpRetransmit (
   if (TcpTransmitSegment (Tcb, Nbuf) != 0) {\r
     goto OnError;\r
   }\r
-  \r
+\r
   if (TCP_SEQ_GT (Seq, Tcb->RetxmitSeqMax)) {\r
     Tcb->RetxmitSeqMax = Seq;\r
   }\r
@@ -793,7 +793,7 @@ SEND_AGAIN:
   // only send a segment without data if SYN or\r
   // FIN is set.\r
   //\r
-  if ((Len == 0) && \r
+  if ((Len == 0) &&\r
       ((Flag & (TCP_FLG_SYN | TCP_FLG_FIN)) == 0)) {\r
     return Sent;\r
   }\r
@@ -831,10 +831,10 @@ SEND_AGAIN:
         TCP_SEQ_LT (End + 1, Tcb->SndWnd + Tcb->SndWl2)) {\r
 \r
       DEBUG (\r
-               (EFI_D_NET, \r
-               "TcpToSendData: send FIN "\r
-        "to peer for TCB %p in state %s\n", \r
-        Tcb, \r
+      (EFI_D_NET,\r
+      "TcpToSendData: send FIN "\r
+        "to peer for TCB %p in state %s\n",\r
+        Tcb,\r
         mTcpStateName[Tcb->State])\r
       );\r
 \r