diff options
| author | Michael Brown | 2006-12-21 18:17:47 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-21 18:17:47 +0100 |
| commit | ab242a760d66064ff14b83daaa2eef0a895c8d2b (patch) | |
| tree | cbf40f86cc848448bb366db05da55bb6595e6811 /src/include/gpxe/iscsi.h | |
| parent | Default to port 0 (sic). (diff) | |
| download | ipxe-ab242a760d66064ff14b83daaa2eef0a895c8d2b.tar.gz ipxe-ab242a760d66064ff14b83daaa2eef0a895c8d2b.tar.xz ipxe-ab242a760d66064ff14b83daaa2eef0a895c8d2b.zip | |
Add ability to shut down iSCSI connection
Diffstat (limited to 'src/include/gpxe/iscsi.h')
| -rw-r--r-- | src/include/gpxe/iscsi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h index 2961a96c9..635fe2699 100644 --- a/src/include/gpxe/iscsi.h +++ b/src/include/gpxe/iscsi.h @@ -626,11 +626,15 @@ struct iscsi_session { /** Mask for all iSCSI "needs to send" flags */ #define ISCSI_STATUS_STRINGS_MASK 0xff00 +/** iSCSI session is closing down */ +#define ISCSI_STATUS_CLOSING 0x00010000 + /** Maximum number of retries at connecting */ #define ISCSI_MAX_RETRIES 2 extern struct async_operation * iscsi_issue ( struct iscsi_session *iscsi, struct scsi_command *command ); +extern struct async_operation * iscsi_shutdown ( struct iscsi_session *iscsi ); /** An iSCSI device */ struct iscsi_device { @@ -641,5 +645,6 @@ struct iscsi_device { }; extern int init_iscsidev ( struct iscsi_device *iscsidev ); +extern void fini_iscsidev ( struct iscsi_device *iscsidev ); #endif /* _GPXE_ISCSI_H */ |
