/** @file\r
Define NVData structures used by the iSCSI configuration component.\r
\r
-Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#define ISID_CONFIGURABLE_MAX_LEN 12\r
#define ISID_CONFIGURABLE_STORAGE 13\r
\r
+///\r
+/// Macro used for target Url.\r
+///\r
+#define ISCSI_TARGET_URI_MIN_SIZE 0\r
+#define ISCSI_TARGET_URI_MAX_SIZE 255\r
+\r
#pragma pack(1)\r
typedef struct _ISCSI_CONFIG_IFR_NVDATA {\r
CHAR16 InitiatorName[ISCSI_NAME_MAX_SIZE];\r
CHAR16 Gateway[IP4_STR_MAX_SIZE];\r
\r
CHAR16 TargetName[ISCSI_NAME_MAX_SIZE];\r
- CHAR16 TargetIp[IP_STR_MAX_SIZE];\r
+ CHAR16 TargetIp[ISCSI_TARGET_URI_MAX_SIZE];\r
UINT16 TargetPort;\r
CHAR16 BootLun[ISCSI_LUN_STR_MAX_LEN];\r
\r