IDERStatistics

note-icon Note:

Beginning in version 11.0, Storage Redirection uses the USB-R protocol rather than the IDE-R protocol. The struct name has not been changed so as to preserve backwards compatibility.

This structure is used as an output parameter when getting the Storage Redirection session statistics. The IMR library will overwrite structure fields with appropriate values.

typedef struct {

BOOL error_state;

BOOL data_transfer;

unsigned short num_reopen;

unsigned long num_error;

unsigned long num_reset;

unsigned long last_cmd_length;

unsigned long data_sent;

unsigned long data_received;

unsigned long packets_sent;

unsigned long packets_received;

} IDERStatistics;

 

Field

Value or Description

error_state

TRUE if session is in ERROR state.

data_transfer

TRUE if there is a read/write command in progress.

num_reopen

Number of session re-opens due to error recovery.

num_error

Number of ErrorOccured messages received.

num_reset

Number of ResetOccured messages received.

last_cmd_length

Last data transfer (read/write) length in bytes.

data_sent

Bytes of data sent to the client.

data_received

Bytes of data received from the client.

packets_sent

Messages sent during the session.

packets_received

Messages received during the session.

Copyright © 2006-2022, Intel Corporation. All rights reserved.