summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-12-05 02:41:32 +0100
committerMichael Brown2006-12-05 02:41:32 +0100
commit6842dd3222e9ae4baedbfc783d3d527b55efc54b (patch)
treed31ba49e8186dd0f067bc452476e94216879aa86 /src/include
parentHandle strings as complete units, instead of a byte at a time. (diff)
downloadipxe-6842dd3222e9ae4baedbfc783d3d527b55efc54b.tar.gz
ipxe-6842dd3222e9ae4baedbfc783d3d527b55efc54b.tar.xz
ipxe-6842dd3222e9ae4baedbfc783d3d527b55efc54b.zip
Handle TargetAddress
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/iscsi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 8a264a27a..2961a96c9 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -221,6 +221,12 @@ struct iscsi_bhs_login_response {
/** Login response opcode */
#define ISCSI_OPCODE_LOGIN_RESPONSE 0x23
+/* Login response status codes */
+#define ISCSI_STATUS_SUCCESS 0x00
+#define ISCSI_STATUS_REDIRECT 0x01
+#define ISCSI_STATUS_INITIATOR_ERROR 0x02
+#define ISCSI_STATUS_TARGET_ERROR 0x03
+
/**
* iSCSI SCSI command basic header segment
*