]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/TcpInput.c
NetworkPkg: Clean up source files
[mirror_edk2.git] / NetworkPkg / TcpDxe / TcpInput.c
index 92a0ab8c35148b75921d6995d7d8f0bb197550c2..5b74fdcdc362ff3f1f5888920bf5c2a0a90db6be 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   TCP input process routines.\r
 \r
-  Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -436,7 +436,7 @@ TcpDeliverData (
       NetbufFree (Nbuf);\r
       return -1;\r
     }\r
-    \r
+\r
     ASSERT (Nbuf->Tcp == NULL);\r
 \r
     if (TCP_SEQ_GT (Seg->Seq, Seq)) {\r
@@ -775,18 +775,18 @@ TcpInput (
 \r
   Head    = (TCP_HEAD *) NetbufGetByte (Nbuf, 0, NULL);\r
   ASSERT (Head != NULL);\r
-  \r
+\r
   if (Nbuf->TotalSize < sizeof (TCP_HEAD)) {\r
     DEBUG ((EFI_D_NET, "TcpInput: received a malformed packet\n"));\r
     goto DISCARD;\r
   }\r
-  \r
+\r
   Len     = Nbuf->TotalSize - (Head->HeadLen << 2);\r
 \r
   if ((Head->HeadLen < 5) || (Len < 0)) {\r
 \r
     DEBUG ((EFI_D_NET, "TcpInput: received a malformed packet\n"));\r
-    \r
+\r
     goto DISCARD;\r
   }\r
 \r
@@ -1322,7 +1322,7 @@ TcpInput (
 \r
       goto DISCARD;\r
     }\r
-    \r
+\r
     Tcb->SndUna = Seg->Ack;\r
 \r
     if (TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_SND_URG) &&\r
@@ -1564,7 +1564,7 @@ StepSix:
 \r
       goto DISCARD;\r
     }\r
-    \r
+\r
     if (TcpDeliverData (Tcb) == -1) {\r
       goto RESET_THEN_DROP;\r
     }\r
@@ -1664,7 +1664,7 @@ TcpIcmpInput (
   if (Nbuf->TotalSize < sizeof (TCP_HEAD)) {\r
     goto CLEAN_EXIT;\r
   }\r
-  \r
+\r
   Head = (TCP_HEAD *) NetbufGetByte (Nbuf, 0, NULL);\r
   ASSERT (Head != NULL);\r
 \r