}\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
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
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
}\r
\r
return EFI_SUCCESS;\r
- \r
+\r
ON_ERROR:\r
if (RtCacheEntry != NULL) {\r
Ip4FreeRouteCacheEntry (RtCacheEntry);\r
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