diff options
author | fanwang2 <fan.wang@intel.com> | 2015-08-11 01:11:29 +0000 |
---|---|---|
committer | fanwang2 <fanwang2@Edk2> | 2015-08-11 01:11:29 +0000 |
commit | 5ae7578af6cf8f62b769309129a612ddf51294d7 (patch) | |
tree | af3fc05e3b2c8bbefa77ed2a4c7eead71bddd178 /NetworkPkg/IScsiDxe/IScsiMisc.h | |
parent | 5c02fc49aea514609bdb6ee21d6375fc66f0d4d6 (diff) | |
download | edk2-5ae7578af6cf8f62b769309129a612ddf51294d7.tar.gz edk2-5ae7578af6cf8f62b769309129a612ddf51294d7.tar.bz2 edk2-5ae7578af6cf8f62b769309129a612ddf51294d7.zip |
NetworkPkg: Change the macro name to fit coding style
Change several macro names to fit name EDK2 naming conventions: Use all capital letters for #define.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <fan.wang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18199 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/IScsiDxe/IScsiMisc.h')
-rw-r--r-- | NetworkPkg/IScsiDxe/IScsiMisc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.h b/NetworkPkg/IScsiDxe/IScsiMisc.h index bcf92157fa..6a762e3596 100644 --- a/NetworkPkg/IScsiDxe/IScsiMisc.h +++ b/NetworkPkg/IScsiDxe/IScsiMisc.h @@ -20,18 +20,18 @@ typedef struct _ISCSI_DRIVER_DATA ISCSI_DRIVER_DATA; ///
/// IPv4 Device Path Node Length
///
-#define IPv4_NODE_LEN_NEW_VERSIONS 27
+#define IP4_NODE_LEN_NEW_VERSIONS 27
///
/// IPv6 Device Path Node Length
///
-#define IPv6_NODE_LEN_OLD_VERSIONS 43
-#define IPv6_NODE_LEN_NEW_VERSIONS 60
+#define IP6_NODE_LEN_OLD_VERSIONS 43
+#define IP6_NODE_LEN_NEW_VERSIONS 60
///
/// The ignored field StaticIpAddress's offset in old IPv6 Device Path
///
-#define IPv6_OLD_IPADDRESS_OFFSET 42
+#define IP6_OLD_IPADDRESS_OFFSET 42
#pragma pack(1)
typedef struct _ISCSI_SESSION_CONFIG_NVDATA {
|