]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Network / UefiPxeBcDxe / PxeBcSupport.h
index 16ac05ec82ae363d235673932b4698a41ac1cd2f..a28c9740c171f5cbf8a73867d6b402dead5ce181 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
   Support routines for PxeBc.\r
-Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 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
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 \r
 /**\r
-  The common notify function associated with various PxeBc events. \r
+  The common notify function associated with various PxeBc events.\r
 \r
   @param  Event     The event signaled.\r
   @param  Context   The context.\r
@@ -38,7 +38,7 @@ PxeBcCommonNotify (
   @param  SubnetMask Pointer to the subnetmask of the station ip address.\r
   @param  Gateway    Pointer to the gateway ip address.\r
   @param  SrcPort    Pointer to the srouce port of the station.\r
-  @param  Ttl        The time to live field of the IP header. \r
+  @param  Ttl        The time to live field of the IP header.\r
   @param  ToS        The type of service field of the IP header.\r
 \r
   @retval EFI_SUCCESS           The configuration settings were set, changed, or reset successfully.\r
@@ -67,6 +67,20 @@ PxeBcConfigureUdpWriteInstance (
   IN     UINT8          Ttl,\r
   IN     UINT8          ToS\r
   );\r
+\r
+\r
+/**\r
+  This function is to display the IPv4 address.\r
+\r
+  @param[in]  Ip        The pointer to the IPv4 address.\r
+\r
+**/\r
+VOID\r
+PxeBcShowIp4Addr (\r
+  IN EFI_IPv4_ADDRESS   *Ip\r
+  );\r
+\r
+\r
 /**\r
   Convert number to ASCII value.\r
 \r
@@ -89,7 +103,7 @@ CvtNum (
   @param      Number         The unsigned int number will be converted.\r
   @param      Buffer         Pointer to the buffer to store the decimal number after transform.\r
   @param[in]  BufferSize     The maxsize of the buffer.\r
-  \r
+\r
   @return the length of the number after transform.\r
 \r
 **/\r
@@ -98,7 +112,7 @@ UtoA10 (
   IN UINTN Number,\r
   IN CHAR8 *Buffer,\r
   IN UINTN BufferSize\r
-  \r
+\r
   );\r
 \r
 \r