tcpdump mailing list archives

Re: pcap DLT request for virtio-scsi SCSI transport


From: Stefan Hajnoczi <stefanha () gmail com>
Date: Tue, 6 Mar 2012 19:45:31 +0000

On Tue, Mar 6, 2012 at 7:28 PM, Guy Harris <guy () alum mit edu> wrote:

On Mar 3, 2012, at 3:38 AM, Stefan Hajnoczi wrote:

Responses have the following layout:

   u32 sense_len;
   u32 residual;
   u16 status_qualifier;
   u8 status;
   u8 response;
   u8 sense[sense_size];
   char datain[];

Are "sense_len" and "sense_size" the same thing - i.e., is sense_len the size of the sense data?

No, sense_size is a fixed value for the device.  It is part of the
device configuration and then all responses use that as the max sense
buffer size.

Stefan
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: