mirror_edk2/MdeModulePkg/Include/Library
Fu Siyuan 3289dcba45 MdeModulePkg: Update NetLib interface to support classless addressing.
The classful addressing (IP class A/B/C) has been deprecated according to
RFC4632. This patch updates the NetLib NetGetIpClass() and NetIp4IsUnicast()
accordingly.

NetGetIpClass()
The function is kept for compatibility, while the caller of this function
could only check the returned value against with IP4_ADDR_CLASSD (multicast)
or IP4_ADDR_CLASSE (reserved) now. The function has been updated to note this.

NetIp4IsUnicast()
The NetMask becomes a required parameter to check the unicast address.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
2016-10-28 14:19:46 +08:00
..
AuthVariableLib.h MdeModulePkg VariableDxe: Correct address pointers from AuthVariableLib 2015-07-26 08:03:50 +00:00
BootLogoLib.h MdeModulePkg/BootLogoLib&PlatformLogo: Use HII data types in parameters 2016-09-28 16:22:20 +08:00
CapsuleLib.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
CpuExceptionHandlerLib.h Fix comments format issue. 2013-12-06 01:13:11 +00:00
CustomizedDisplayLib.h MdeModulePkg/Include: Fix typos in comments 2016-10-27 09:11:18 +08:00
DebugAgentLib.h MdeModulePkg/Include: Fix typos in comments 2016-10-27 09:11:18 +08:00
DpcLib.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
FileExplorerLib.h MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs 2016-03-24 09:00:53 +08:00
FrameBufferBltLib.h MdeModulePkg: Add FrameBufferBltLib library class 2016-10-12 10:42:15 +08:00
HiiLib.h MdeModulePkg/Include: Fix typos in comments 2016-10-27 09:11:18 +08:00
HttpLib.h MdeModulePkg:DxeHttpLib: Update to DxeHttpLib API 2016-04-27 10:43:08 +08:00
IpIoLib.h Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO structure using this UNION to point the special IP Protocol. 2010-06-13 08:18:10 +00:00
IpmiLib.h MdeModulePkg: Add IpmiLib and Ppi/Protocol header file. 2015-12-23 08:16:20 +00:00
LockBoxLib.h MdeModulePkg: Add SMM LockBox 2011-07-19 20:47:28 +00:00
MemoryProfileLib.h MdeModulePkg: Introduce new library class MemoryProfileLib 2016-07-01 09:39:57 +08:00
NetLib.h MdeModulePkg: Update NetLib interface to support classless addressing. 2016-10-28 14:19:46 +08:00
OemHookStatusCodeLib.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
PciHostBridgeLib.h MdeModulePkg/PciHostBridgeLib: Add ResourceAssigned field 2016-05-11 08:53:36 +08:00
PlatformBootManagerLib.h MdeModulePkg: Add BdsDxe driver and PlatformBootManagerNull library. 2015-05-06 04:48:56 +00:00
PlatformHookLib.h Add generic SerialPortLib instance for 16550 UARTs configured through PCDs. Depends on new library class called PlatformHookLib to perform platform specific initialization of the UART. 2010-12-18 01:02:59 +00:00
PlatformVarCleanupLib.h MdeModulePkg: Add PlatformVarCleanupLib library 2015-08-25 03:11:06 +00:00
RecoveryLib.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
ResetSystemLib.h MdeModulePkg: Add API ResetPlatformSpecific() to ResetSystemLib.h 2016-09-02 10:07:14 +08:00
S3Lib.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
SecurityManagementLib.h Add PI1.2.1 SAP2 support and UEFI231B mantis 896 2012-08-22 02:32:12 +00:00
SmmCorePlatformHookLib.h 1. Add two performance measurement points for SMM performance measurement; 2011-08-16 02:58:20 +00:00
SortLib.h MdeModulePkg, MdePkg, NetworkPkg, OvmfPkg, PerformancePkg, ShellPkg: Library Migration. 2015-01-13 01:04:07 +00:00
TcpIoLib.h Fix CRLF format 2014-01-22 08:38:50 +00:00
TpmMeasurementLib.h MdeModulePkg: Move TpmMeasurementLib LibraryClass from SecurityPkg 2015-07-01 03:01:34 +00:00
UdpIoLib.h 1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option on the different IP stack is selected. 2012-10-17 08:23:41 +00:00
UefiBootManagerLib.h MdeModulePkg: Skip registering BootManagerMenu if absent 2016-07-05 17:33:05 +08:00
UefiHiiServicesLib.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
VarCheckLib.h MdeModulePkg: Add VarCheckLib library 2015-08-25 02:58:09 +00:00