summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-09 05:31:33 +0100
committerMichael Brown2007-01-09 05:31:33 +0100
commit76525294eed5939f5985b3f1bee4f6dc911c0585 (patch)
tree04416b9a80a5215511e6769ac24348b19b2595d7 /src/include
parentObsoleted by drivers/net/undionly.c (diff)
downloadipxe-76525294eed5939f5985b3f1bee4f6dc911c0585.tar.gz
ipxe-76525294eed5939f5985b3f1bee4f6dc911c0585.tar.xz
ipxe-76525294eed5939f5985b3f1bee4f6dc911c0585.zip
Clean up connection closing and permanent failure logic.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/iscsi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 526ef43b..bcb27376 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -592,6 +592,13 @@ struct iscsi_session {
struct scsi_command *command;
/** Asynchronous operation for the current iSCSI operation */
struct async_operation aop;
+ /** Instant return code
+ *
+ * Set to a non-zero value if all requests should return
+ * immediately. This can be used to e.g. avoid retrying
+ * logins that are doomed to fail authentication.
+ */
+ int instant_rc;
};
/** iSCSI session is currently in the security negotiation phase */