From 67577556a24c9d141dca7603aebc87100e10f74b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 5 Dec 2006 01:08:56 +0000 Subject: Handle strings as complete units, instead of a byte at a time. --- src/include/gpxe/iscsi.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/include') 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 * -- cgit v1.2.3-55-g7522