/** @file\r
Support functions declaration for UefiPxeBc Driver.\r
\r
- Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2007 - 2014, 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
\r
**/\r
EFI_STATUS\r
-PxeBcFlushStaionIp (\r
+PxeBcFlushStationIp (\r
PXEBC_PRIVATE_DATA *Private,\r
EFI_IP_ADDRESS *StationIp,\r
EFI_IP_ADDRESS *SubnetMask OPTIONAL\r
\r
@param[in] Number Numeric value to be converted.\r
@param[in] Buffer Pointer to the buffer for ASCII string.\r
-\r
+ @param[in] BufferSize The maxsize of the buffer.\r
+ \r
@return Length The actual length of the ASCII string.\r
\r
**/\r
UINTN\r
PxeBcUintnToAscDec (\r
IN UINTN Number,\r
- IN UINT8 *Buffer\r
+ IN UINT8 *Buffer,\r
+ IN UINTN BufferSize\r
);\r
\r
/**\r
);\r
\r
/**\r
- Calculate the elapsed time\r
+ Calculate the elapsed time.\r
\r
@param[in] Private The pointer to PXE private data\r
\r
IN PXEBC_PRIVATE_DATA *Private\r
);\r
\r
+/**\r
+ Get the Nic handle using any child handle in the IPv4 stack.\r
+\r
+ @param[in] ControllerHandle Pointer to child handle over IPv4.\r
+\r
+ @return NicHandle The pointer to the Nic handle.\r
+\r
+**/\r
+EFI_HANDLE\r
+PxeBcGetNicByIp4Children (\r
+ IN EFI_HANDLE ControllerHandle\r
+ );\r
+\r
+/**\r
+ Get the Nic handle using any child handle in the IPv6 stack.\r
+\r
+ @param[in] ControllerHandle Pointer to child handle over IPv6.\r
+\r
+ @return NicHandle The pointer to the Nic handle.\r
+\r
+**/\r
+EFI_HANDLE\r
+PxeBcGetNicByIp6Children (\r
+ IN EFI_HANDLE ControllerHandle\r
+ );\r
#endif\r