summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-12-05 01:39:05 +0100
committerMichael Brown2006-12-05 01:39:05 +0100
commit3a7d762c1c90253bf6fe2080ee4da6c445c95c74 (patch)
tree2a7debfded20e11f56c76d9b7d996d08deec8440 /src/include
parentAdded more debug messages (diff)
downloadipxe-3a7d762c1c90253bf6fe2080ee4da6c445c95c74.tar.gz
ipxe-3a7d762c1c90253bf6fe2080ee4da6c445c95c74.tar.xz
ipxe-3a7d762c1c90253bf6fe2080ee4da6c445c95c74.zip
Add iscsi_rx_buffered_data() and supporting infrastructure.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/iscsi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 0e04f753f..e3401befb 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -583,6 +583,8 @@ struct iscsi_session {
enum iscsi_tx_state tx_state;
/** Byte offset within the current TX state */
size_t tx_offset;
+ /** Length of the current TX state */
+ size_t tx_len;
/** Basic header segment for current RX PDU */
union iscsi_bhs rx_bhs;
@@ -590,6 +592,10 @@ struct iscsi_session {
enum iscsi_rx_state rx_state;
/** Byte offset within the current RX state */
size_t rx_offset;
+ /** Length of the current RX state */
+ 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;