/** @file\r
Implement IP4 pesudo interface.\r
\r
-Copyright (c) 2005 - 2009, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2005 - 2009, 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
\r
if (EFI_ERROR (Status)) {\r
- gBS->FreePool (Token);\r
+ FreePool (Token);\r
return NULL;\r
}\r
\r
NET_CHECK_SIGNATURE (Token, IP4_FRAME_TX_SIGNATURE);\r
\r
gBS->CloseEvent (Token->MnpToken.Event);\r
- gBS->FreePool (Token);\r
+ FreePool (Token);\r
}\r
\r
\r
);\r
\r
if (EFI_ERROR (Status)) {\r
- gBS->FreePool (ArpQue);\r
+ FreePool (ArpQue);\r
return NULL;\r
}\r
\r
Ip4CancelFrameArp (ArpQue, IoStatus, NULL, NULL);\r
\r
gBS->CloseEvent (ArpQue->OnResolved);\r
- gBS->FreePool (ArpQue);\r
+ FreePool (ArpQue);\r
}\r
\r
\r
);\r
\r
if (EFI_ERROR (Status)) {\r
- gBS->FreePool (Token);\r
+ FreePool (Token);\r
return NULL;\r
}\r
\r
NET_CHECK_SIGNATURE (Token, IP4_FRAME_RX_SIGNATURE);\r
\r
gBS->CloseEvent (Token->MnpToken.Event);\r
- gBS->FreePool (Token);\r
+ FreePool (Token);\r
}\r
\r
\r
// Get the interface's Mac address and broadcast mac address from SNP\r
//\r
if (EFI_ERROR (Mnp->GetModeData (Mnp, NULL, &SnpMode))) {\r
- gBS->FreePool (Interface);\r
+ FreePool (Interface);\r
return NULL;\r
}\r
\r
}\r
\r
RemoveEntryList (&Interface->Link);\r
- gBS->FreePool (Interface);\r
+ FreePool (Interface);\r
\r
return EFI_SUCCESS;\r
}\r
\r
**/\r
VOID\r
+EFIAPI\r
Ip4RecycleFrame (\r
IN VOID *Context\r
)\r