diff options
| author | Michael Brown | 2006-12-05 02:08:56 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-05 02:08:56 +0100 |
| commit | 67577556a24c9d141dca7603aebc87100e10f74b (patch) | |
| tree | 7809be1939ce25b5fc8f0b8dda322db6fce624f8 /src/include | |
| parent | Add iscsi_rx_buffered_data() and supporting infrastructure. (diff) | |
| download | ipxe-67577556a24c9d141dca7603aebc87100e10f74b.tar.gz ipxe-67577556a24c9d141dca7603aebc87100e10f74b.tar.xz ipxe-67577556a24c9d141dca7603aebc87100e10f74b.zip | |
Handle strings as complete units, instead of a byte at a time.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/iscsi.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h index e3401befb..8a264a27a 100644 --- a/src/include/gpxe/iscsi.h +++ b/src/include/gpxe/iscsi.h @@ -478,23 +478,6 @@ enum iscsi_rx_state { ISCSI_RX_DATA_PADDING, }; -enum iscsi_string_key_value { - STRING_KEY = 0, - STRING_VALUE, -}; - -/** iSCSI text string processor state */ -struct iscsi_string_state { - /** Text string key */ - char key[16]; - /** Text string value */ - char value[8]; - /** Key/value flag */ - enum iscsi_string_key_value key_value; - /** Index into current string */ - unsigned int index; -}; - /** An iSCSI session */ struct iscsi_session { /** TCP connection for this session */ @@ -596,8 +579,6 @@ struct iscsi_session { size_t rx_len; /** Buffer for received data (not always used) */ void *rx_buffer; - /** State of strings received during login phase */ - struct iscsi_string_state string; /** Current SCSI command * |
