aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/iscsi.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2011-02-23 09:52:02 +0000
committerMichael Brown <mcb30@ipxe.org>2011-02-23 09:52:02 +0000
commit7ef314514c85bdd2708a3ce75618d9666502ee35 (patch)
tree86e91353cef30bc56bfe95e1a95f1b1d0e7ca894 /src/include/ipxe/iscsi.h
parent623469de5d307ee6d762ad30988ffbfbc53741b6 (diff)
downloadipxe-7ef314514c85bdd2708a3ce75618d9666502ee35.zip
ipxe-7ef314514c85bdd2708a3ce75618d9666502ee35.tar.gz
ipxe-7ef314514c85bdd2708a3ce75618d9666502ee35.tar.bz2
[iscsi] Disambiguate the expected target errors in the login response
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/iscsi.h')
-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 4890bcc..f336c7c 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