]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c
BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4If.c
index 499a486a8b5d64d05ecbbb101e0842877ea52af6..44b8d9fc8faf64aeb736eb23e6adc366a908f3ce 100644 (file)
@@ -2,13 +2,7 @@
   Implement IP4 pesudo interface.\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
-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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -796,14 +790,14 @@ Ip4FreeInterface (
 }\r
 \r
 /**\r
-  This function tries to send all the queued frames in ArpQue to the default gateway if \r
+  This function tries to send all the queued frames in ArpQue to the default gateway if\r
   the ARP resolve for direct destination address is failed when using /32 subnet mask.\r
 \r
   @param[in]   ArpQue           The ARP queue of a failed request.\r
-  \r
+\r
   @retval EFI_SUCCESS           All the queued frames have been send to the default route.\r
   @retval Others                Failed to send the queued frames.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 Ip4SendFrameToDefaultRoute (\r
@@ -817,7 +811,7 @@ Ip4SendFrameToDefaultRoute (
   IP4_ADDR                  Gateway;\r
   EFI_STATUS                Status;\r
   IP4_ROUTE_ENTRY           *DefaultRoute;\r
-  \r
+\r
   //\r
   // ARP resolve failed when using /32 subnet mask.\r
   //\r
@@ -850,7 +844,7 @@ Ip4SendFrameToDefaultRoute (
     Gateway = DefaultRoute->NextHop;\r
     if (ArpQue->Ip == Gateway) {\r
       //\r
-      // ARP resolve for the default route is failed, return error to caller. \r
+      // ARP resolve for the default route is failed, return error to caller.\r
       //\r
       Status= EFI_NO_MAPPING;\r
       goto ON_ERROR;\r
@@ -865,7 +859,7 @@ Ip4SendFrameToDefaultRoute (
   }\r
 \r
   return EFI_SUCCESS;\r
-  \r
+\r
 ON_ERROR:\r
   if (RtCacheEntry != NULL) {\r
     Ip4FreeRouteCacheEntry (RtCacheEntry);\r
@@ -905,7 +899,7 @@ Ip4OnArpResolvedDpc (
   RemoveEntryList (&ArpQue->Link);\r
 \r
   //\r
-  // ARP resolve failed for some reason. \r
+  // ARP resolve failed for some reason.\r
   //\r
   if (NET_MAC_EQUAL (&ArpQue->Mac, &mZeroMacAddress, ArpQue->Interface->HwaddrLen)) {\r
     if (ArpQue->Interface->SubnetMask != IP4_ALLONE_ADDRESS) {\r