summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2011-02-23 10:52:02 +0100
committerMichael Brown2011-02-23 10:52:02 +0100
commit7ef314514c85bdd2708a3ce75618d9666502ee35 (patch)
tree86e91353cef30bc56bfe95e1a95f1b1d0e7ca894 /src/include
parent[build] Eliminate unused sections at link-time (diff)
downloadipxe-7ef314514c85bdd2708a3ce75618d9666502ee35.tar.gz
ipxe-7ef314514c85bdd2708a3ce75618d9666502ee35.tar.xz
ipxe-7ef314514c85bdd2708a3ce75618d9666502ee35.zip
[iscsi] Disambiguate the expected target errors in the login response
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/iscsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/iscsi.h b/src/include/ipxe/iscsi.h
index 4890bcc6d..f336c7cc0 100644
--- a/src/include/ipxe/iscsi.h
+++ b/src/include/ipxe/iscsi.h
@@ -237,6 +237,8 @@ struct iscsi_bhs_login_response {
#define ISCSI_STATUS_INITIATOR_ERROR_NOT_FOUND 0x03
#define ISCSI_STATUS_INITIATOR_ERROR_REMOVED 0x04
#define ISCSI_STATUS_TARGET_ERROR 0x03
+#define ISCSI_STATUS_TARGET_ERROR_UNAVAILABLE 0x01
+#define ISCSI_STATUS_TARGET_ERROR_NO_RESOURCES 0x02
/**
* iSCSI SCSI command basic header segment