audk/MdeModulePkg/Include
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
..
Guid MdeModulePkg PCD: Update PCD database structure definition to match BaseTools 2016-09-20 16:50:52 +08:00
Library MdeModulePkg: Update NetLib interface to support classless addressing. 2016-10-28 14:19:46 +08:00
Ppi MdeModulePkg/Include: Fix typos in comments 2016-10-27 09:11:18 +08:00
Protocol MdeModulePkg/BootLogoLib&PlatformLogo: Use HII data types in parameters 2016-09-28 16:22:20 +08:00