summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/iscsi.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-31 03:09:13 +0100
committerMichael Brown2007-01-31 03:09:13 +0100
commit6d32f0e6e2179afa4e78ab94d3fbfb691a6f99de (patch)
tree9ba9ac5ba0a755bdb6f10a563b22dac61ef4045d /src/include/gpxe/iscsi.h
parentFirst sketch of stream API (diff)
downloadipxe-6d32f0e6e2179afa4e78ab94d3fbfb691a6f99de.tar.gz
ipxe-6d32f0e6e2179afa4e78ab94d3fbfb691a6f99de.tar.xz
ipxe-6d32f0e6e2179afa4e78ab94d3fbfb691a6f99de.zip
Changed to use the generic stream API.
Diffstat (limited to 'src/include/gpxe/iscsi.h')
-rw-r--r--src/include/gpxe/iscsi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 745606496..62b789c24 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -8,7 +8,7 @@
*/
#include <stdint.h>
-#include <gpxe/tcp.h>
+#include <gpxe/stream.h>
#include <gpxe/async.h>
#include <gpxe/scsi.h>
#include <gpxe/chap.h>
@@ -489,7 +489,7 @@ struct iscsi_session {
/** Initiator IQN */
const char *initiator_iqn;
/** Target address */
- struct sockaddr_tcpip target;
+ struct sockaddr target;
/** Target IQN */
const char *target_iqn;
/** Logical Unit Number (LUN) */
@@ -499,8 +499,8 @@ struct iscsi_session {
/** Password */
const char *password;
- /** TCP application for this session */
- struct tcp_application tcp;
+ /** Stream application for this session */
+ struct stream_application stream;
/** Session status
*
* This is the bitwise-OR of zero or more ISCSI_STATUS_XXX