summaryrefslogtreecommitdiff
path: root/NetworkPkg/TcpDxe
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2016-10-27 09:22:08 +0800
committerFu Siyuan <siyuan.fu@intel.com>2016-10-28 14:19:46 +0800
commit3289dcba45e48af5c4fd329f57c49cc8e5830ed8 (patch)
tree3109dce4b674a6981181aeb2db8aba438ad18653 /NetworkPkg/TcpDxe
parent6440385b17def888544c2454ffba58384b929a22 (diff)
downloadedk2-3289dcba45e48af5c4fd329f57c49cc8e5830ed8.zip
edk2-3289dcba45e48af5c4fd329f57c49cc8e5830ed8.tar.gz
edk2-3289dcba45e48af5c4fd329f57c49cc8e5830ed8.tar.bz2
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>
Diffstat (limited to 'NetworkPkg/TcpDxe')
0 files changed, 0 insertions, 0 deletions