mirror of https://github.com/acidanthera/audk.git
364f4efa44
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> |
||
---|---|---|
.. | ||
ComponentName.c | ||
Ip4Common.c | ||
Ip4Common.h | ||
Ip4Config2.vfr | ||
Ip4Config2Impl.c | ||
Ip4Config2Impl.h | ||
Ip4Config2Nv.c | ||
Ip4Config2Nv.h | ||
Ip4Driver.c | ||
Ip4Driver.h | ||
Ip4Dxe.inf | ||
Ip4Dxe.uni | ||
Ip4DxeExtra.uni | ||
Ip4DxeStrings.uni | ||
Ip4Icmp.c | ||
Ip4Icmp.h | ||
Ip4If.c | ||
Ip4If.h | ||
Ip4Igmp.c | ||
Ip4Igmp.h | ||
Ip4Impl.c | ||
Ip4Impl.h | ||
Ip4Input.c | ||
Ip4Input.h | ||
Ip4NvData.h | ||
Ip4Option.c | ||
Ip4Option.h | ||
Ip4Output.c | ||
Ip4Output.h | ||
Ip4Route.c | ||
Ip4Route.h |