aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-12 07:18:05 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-12 07:18:05 +0000
commitc36b0f1b0375db5ef69c5cfd8b2a77d95cff3feb (patch)
treeb90bcfe399aa4201277102d7c1a4c705ea9316ee /epan/dissectors/packet-usb.h
parent55140956e895ef349b3111ffd0b07b7be44f68b2 (diff)
From Steve Magnani:
USB: add infrastructure for dissecting class-specific descriptors. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6825 svn path=/trunk/; revision=40979
Diffstat (limited to 'epan/dissectors/packet-usb.h')
-rw-r--r--epan/dissectors/packet-usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-usb.h b/epan/dissectors/packet-usb.h
index ef7a1cb2b4..48ec7e01d1 100644
--- a/epan/dissectors/packet-usb.h
+++ b/epan/dissectors/packet-usb.h
@@ -60,6 +60,7 @@ typedef struct _usb_trans_info_t {
/* there is one such structure for each device/endpoint conversation */
struct _usb_conv_info_t {
guint16 interfaceClass; /* class for this conversation */
+ guint16 interfaceSubclass; /* Most recent interface descriptor subclass */
emem_tree_t *transactions;
usb_trans_info_t *usb_trans_info; /* pointer to the current transaction */
void *class_data; /* private class/id decode data */
@@ -120,6 +121,7 @@ typedef struct _usb_tap_data_t {
#define IF_CLASS_APPLICATION_SPECIFIC 0xfe
#define IF_CLASS_VENDOR_SPECIFIC 0xff
+#define IF_SUBCLASS_UNKNOWN 0xffff
/* bmRequestType values */
#define USB_DIR_OUT 0 /* to device */