diff options
| author | Michael Brown | 2007-01-09 05:31:33 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-09 05:31:33 +0100 |
| commit | 76525294eed5939f5985b3f1bee4f6dc911c0585 (patch) | |
| tree | 04416b9a80a5215511e6769ac24348b19b2595d7 /src/include/gpxe | |
| parent | Obsoleted by drivers/net/undionly.c (diff) | |
| download | ipxe-76525294eed5939f5985b3f1bee4f6dc911c0585.tar.gz ipxe-76525294eed5939f5985b3f1bee4f6dc911c0585.tar.xz ipxe-76525294eed5939f5985b3f1bee4f6dc911c0585.zip | |
Clean up connection closing and permanent failure logic.
Diffstat (limited to 'src/include/gpxe')
| -rw-r--r-- | src/include/gpxe/iscsi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h index 526ef43b4..bcb27376f 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 */ |
