summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/iscsi.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 635fe269..1b9ef926 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -504,9 +504,15 @@ struct iscsi_session {
int retry_count;
/** Initiator IQN */
- const char *initiator;
+ const char *initiator_iqn;
+ /** Target address
+ *
+ * Kept separate from the TCP connection structure because we
+ * may need to handle login redirection.
+ */
+ struct sockaddr_tcpip target;
/** Target IQN */
- const char *target;
+ const char *target_iqn;
/** Logical Unit Number (LUN) */
uint64_t lun;