audk/MdeModulePkg/Universal/Network/Ip4Dxe
Zhang Lubo 364f4efa44 MdeModulePkg: Add new macros and refine codes
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>
2016-04-11 08:25:33 +08:00
..
ComponentName.c
Ip4Common.c
Ip4Common.h
Ip4Config2.vfr MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Config2Impl.c MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
Ip4Config2Impl.h MdeModulePkg: Change the default IPv4 config policy 2016-03-02 15:43:50 +08:00
Ip4Config2Nv.c MdeModulePkg: Code logic optimization for Ip4Dxe driver 2015-07-10 09:01:42 +00:00
Ip4Config2Nv.h MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Driver.c MdeModulePkg: Change the default IPv4 config policy 2016-03-02 15:43:50 +08:00
Ip4Driver.h
Ip4Dxe.inf MdeModulePkg: Change the default IPv4 config policy 2016-03-02 15:43:50 +08:00
Ip4Dxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Ip4DxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Ip4DxeStrings.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Ip4Icmp.c MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Icmp.h MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4If.c MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
Ip4If.h MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Igmp.c MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Igmp.h MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Impl.c MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
Ip4Impl.h MdeModulePkg/NetworkPkg: Locate IpSec on IP packet processing only if it's installed. 2015-08-31 07:44:12 +00:00
Ip4Input.c MdeModulePkg/NetworkPkg: Locate IpSec on IP packet processing only if it's installed. 2015-08-31 07:44:12 +00:00
Ip4Input.h
Ip4NvData.h MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Option.c
Ip4Option.h
Ip4Output.c MdeModulePkg: Update Ip4Dxe driver to support Ip4Config2 protocol, 2015-07-07 08:19:55 +00:00
Ip4Output.h
Ip4Route.c MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
Ip4Route.h