aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 2f303a3b270e..eea33f7b1544 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -72,6 +72,8 @@ struct iscsi_nopin;
72#define ISCSI_AGE_SHIFT 28 72#define ISCSI_AGE_SHIFT 28
73#define ISCSI_AGE_MASK (0xf << ISCSI_AGE_SHIFT) 73#define ISCSI_AGE_MASK (0xf << ISCSI_AGE_SHIFT)
74 74
75#define ISCSI_ADDRESS_BUF_LEN 64
76
75struct iscsi_mgmt_task { 77struct iscsi_mgmt_task {
76 /* 78 /*
77 * Becuae LLDs allocate their hdr differently, this is a pointer to 79 * Becuae LLDs allocate their hdr differently, this is a pointer to
@@ -174,6 +176,12 @@ struct iscsi_conn {
174 /* values userspace uses to id a conn */ 176 /* values userspace uses to id a conn */
175 int persistent_port; 177 int persistent_port;
176 char *persistent_address; 178 char *persistent_address;
179 /* remote portal currently connected to */
180 int portal_port;
181 char portal_address[ISCSI_ADDRESS_BUF_LEN];
182 /* local address */
183 int local_port;
184 char local_address[ISCSI_ADDRESS_BUF_LEN];
177 185
178 /* MIB-statistics */ 186 /* MIB-statistics */
179 uint64_t txdata_octets; 187 uint64_t txdata_octets;