History log of /device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/Ip6Route.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c720da286687aed978d9a20bcdd6d303bade9ddc 08-Apr-2016 Zhang Lubo <lubo.zhang@intel.com> NetworkPkg: Add new macros and refine codes

v2:
*refine some codes

Add 2 macros in NetLib.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>
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/Ip6Route.c
a3bcde70e6dc69000f85cc5deee98101d2ae200a 01-Nov-2010 hhtian <hhtian@6f19259b-4bc3-4df7-8a09-765794883524> Add NetworkPkg (P.UDK2010.UP3.Network.P1)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10986 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/Ip6Route.c