edk2/MdeModulePkg/Include/Library
Zhang Lubo 364f4efa44 MdeModulePkg: Add new macros and refine codes
Add 2 macros inNetLib.h
#define  IP4_MASK_MAX          32
#define  IP6_PREFIX_MAX        128
we will use these two macros to check the max mask/prefix length,
instead of
#define  IP4_MASK_NUM          33
#define  IP6_PREFIX_NUM        129
which means a valid number.
This will make the code readability and maintainability.

Cc: Subramanian Sriram <sriram-s@hpe.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
2016-04-11 08:25:33 +08:00
..
AuthVariableLib.h MdeModulePkg VariableDxe: Correct address pointers from AuthVariableLib 2015-07-26 08:03:50 +00:00
BootLogoLib.h MdeModulePkg: Change BootLogoEnableLogo use INTN for minus value 2015-11-18 05:05:22 +00:00
CapsuleLib.h
CpuExceptionHandlerLib.h
CustomizedDisplayLib.h
DebugAgentLib.h
DpcLib.h
FileExplorerLib.h MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs 2016-03-24 09:00:53 +08:00
HiiLib.h MdeModulePkg:Add new API HiiGetFormSetFromHiiHandle into UefiHiiLib 2015-10-27 10:19:29 +00:00
HttpLib.h ModulePkg/DxeHttpLib: Adding Functions to HttpLib 2016-03-10 09:51:42 +08:00
ImageDecoderLib.h MdeModulePkg: Add ImageDecoderLib to provide image decoding service. 2015-11-12 05:21:38 +00:00
IpIoLib.h
IpmiLib.h MdeModulePkg: Add IpmiLib and Ppi/Protocol header file. 2015-12-23 08:16:20 +00:00
LockBoxLib.h
NetLib.h MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
OemHookStatusCodeLib.h
PciHostBridgeLib.h MdeModulePkg/PciHostBridgeLib: Correct the function header comments 2016-03-03 18:24:25 +01:00
PlatformBootManagerLib.h MdeModulePkg: Add BdsDxe driver and PlatformBootManagerNull library. 2015-05-06 04:48:56 +00:00
PlatformHookLib.h
PlatformVarCleanupLib.h MdeModulePkg: Add PlatformVarCleanupLib library 2015-08-25 03:11:06 +00:00
RecoveryLib.h
ResetSystemLib.h
S3Lib.h
SecurityManagementLib.h
SmmCorePlatformHookLib.h
SortLib.h
TcpIoLib.h
TpmMeasurementLib.h MdeModulePkg: Move TpmMeasurementLib LibraryClass from SecurityPkg 2015-07-01 03:01:34 +00:00
UdpIoLib.h
UefiBootManagerLib.h MdeModulePkg/UefiBootManagerLib: API BmIsValidLoadOptionVariableName 2016-04-08 12:28:02 +08:00
UefiHiiServicesLib.h
VarCheckLib.h MdeModulePkg: Add VarCheckLib library 2015-08-25 02:58:09 +00:00