]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h
Update PXE driver to support PXE forced mode.
[mirror_edk2.git] / NetworkPkg / UefiPxeBcDxe / PxeBcSupport.h
index 0d782050f9ac9061fc19e69f22b42f36891a2fdf..80e56bc06f4bdf860afd8f699e6f9ecb8beeee1a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Support functions declaration for UefiPxeBc Driver.\r
 \r
 /** @file\r
   Support functions declaration for UefiPxeBc Driver.\r
 \r
-  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2012, 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
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 #define ICMP_PARAMETER_PROBLEM     12\r
 \r
 \r
 #define ICMP_PARAMETER_PROBLEM     12\r
 \r
 \r
-/**\r
-  This function obtain the system guid and serial number from the smbios table.\r
-\r
-  @param[out]  SystemGuid     The pointer of returned system guid.\r
-\r
-  @retval EFI_SUCCESS         Successfully obtained the system guid.\r
-  @retval EFI_NOT_FOUND       Did not find the SMBIOS table.\r
-\r
-**/\r
-EFI_STATUS\r
-PxeBcGetSystemGuid (\r
-  OUT EFI_GUID              *SystemGuid\r
-  );\r
-\r
 \r
 /**\r
   Flush the previous configration using the new station Ip address.\r
 \r
 /**\r
   Flush the previous configration using the new station Ip address.\r
@@ -286,7 +272,7 @@ PxeBcCheckByDestIp (
 /**\r
   Check the received packet with the destination port.\r
 \r
 /**\r
   Check the received packet with the destination port.\r
 \r
-  @param[in]       PxeBcMode      Pointer to mode data of PxeBc.\r
+  @param[in]       Mode           Pointer to mode data of PxeBc.\r
   @param[in]       Session        Pointer to the current UDPv4 session.\r
   @param[in, out]  DestPort       Pointer to the destination port.\r
   @param[in]       OpFlags        Operation flag for UdpRead/UdpWrite.\r
   @param[in]       Session        Pointer to the current UDPv4 session.\r
   @param[in, out]  DestPort       Pointer to the destination port.\r
   @param[in]       OpFlags        Operation flag for UdpRead/UdpWrite.\r
@@ -488,4 +474,40 @@ PxeBcUniHexToUint8 (
   IN  CHAR16               Char\r
   );\r
 \r
   IN  CHAR16               Char\r
   );\r
 \r
+/**\r
+  Calculate the elapsed time.\r
+\r
+  @param[in]      Private      The pointer to PXE private data\r
+\r
+**/\r
+VOID\r
+CalcElapsedTime (\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
 #endif\r