aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-18 11:24:03 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-18 11:24:03 +0000
commit232e884ca140fd4146f1b96b4cfc6c3a5ae80c94 (patch)
tree28bea8f6e89dd0af8966621d9b7f390ad2cfc2c3 /epan/dissectors/packet-usb.h
parent6a75fbab650e4e4e2f125f06a4fd5a2ca0bfcc3e (diff)
new dissector : usb mass storage
this is a wrapper protocol to store SCSI frames inside usb bulk data transfers the dissector is far from complete but does track ITL and ITLQ structures and will also call the SCSI dissector to dissect the SCSI CDB. what is still missing is handling of data in/out and scsi responses at least it will now display the SCSI CDB and dissect it. woohoo svn path=/trunk/; revision=19589
Diffstat (limited to 'epan/dissectors/packet-usb.h')
-rw-r--r--epan/dissectors/packet-usb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-usb.h b/epan/dissectors/packet-usb.h
index c0004df45d..972a1fcb95 100644
--- a/epan/dissectors/packet-usb.h
+++ b/epan/dissectors/packet-usb.h
@@ -28,6 +28,7 @@
typedef struct _usb_conv_info_t {
guint16 class; /* class for this conversation */
emem_tree_t *transactions;
+ void *masstorage; /* mass storage data */
} usb_conv_info_t;
/* there is one such structure for each request/response */
@@ -53,6 +54,14 @@ typedef struct _usb_trans_info_t {
usb_conv_info_t *interface_info;
} usb_trans_info_t;
+
+/* This is the endpoint number user for "no endpoint" or the fake endpoint
+ * for the host side since we need two endpoints to manage conversations
+ * properly.
+ */
+#define NO_ENDPOINT 0xffff
+
+
#define IF_CLASS_UNKNOWN 0xffff
#define IF_CLASS_MASSTORAGE 0x08