X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FUefiPxeBcDxe%2FPxeBcSupport.h;h=a28c9740c171f5cbf8a73867d6b402dead5ce181;hp=16ac05ec82ae363d235673932b4698a41ac1cd2f;hb=d1102dba7210b95e41d06c2338a22ba6af248645;hpb=0a28d02d9fb5293757c507e592a4d0404a7ecf74 diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h index 16ac05ec82..a28c9740c1 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h @@ -1,6 +1,6 @@ /** @file Support routines for PxeBc. -Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. /** - The common notify function associated with various PxeBc events. + The common notify function associated with various PxeBc events. @param Event The event signaled. @param Context The context. @@ -38,7 +38,7 @@ PxeBcCommonNotify ( @param SubnetMask Pointer to the subnetmask of the station ip address. @param Gateway Pointer to the gateway ip address. @param SrcPort Pointer to the srouce port of the station. - @param Ttl The time to live field of the IP header. + @param Ttl The time to live field of the IP header. @param ToS The type of service field of the IP header. @retval EFI_SUCCESS The configuration settings were set, changed, or reset successfully. @@ -67,6 +67,20 @@ PxeBcConfigureUdpWriteInstance ( IN UINT8 Ttl, IN UINT8 ToS ); + + +/** + This function is to display the IPv4 address. + + @param[in] Ip The pointer to the IPv4 address. + +**/ +VOID +PxeBcShowIp4Addr ( + IN EFI_IPv4_ADDRESS *Ip + ); + + /** Convert number to ASCII value. @@ -89,7 +103,7 @@ CvtNum ( @param Number The unsigned int number will be converted. @param Buffer Pointer to the buffer to store the decimal number after transform. @param[in] BufferSize The maxsize of the buffer. - + @return the length of the number after transform. **/ @@ -98,7 +112,7 @@ UtoA10 ( IN UINTN Number, IN CHAR8 *Buffer, IN UINTN BufferSize - + );