Hi all,

In the source code of ver 2.0.871 there's a struct

struct iscsi_segment {
        unsigned char           *data;
        unsigned int            size;
        unsigned int            copied;
        unsigned int            total_size;
        unsigned int            total_copied;

        ......

        iscsi_segment_done_fn_t *done;
};

My understanding is that "copied" is how many bytes are sent out in
the last round and "total_copied" is an accumulative value of how many
bytes have been sent out. Is that correct?

And what do "size" and "total_size" mean respectively?

Thank you very much! Any help would be highly appreciated.

Cheers,
Jack

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to