diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2016-02-28 15:43:24 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-02-28 20:49:14 +0000 |
commit | 0165e679d62162dcf3e7f334237f9416a21310a6 (patch) | |
tree | 9bf1b8066e91d6800d776028ac3121c8208fad61 /epan/dissectors/packet-usb.h | |
parent | df7c21bed2d06c57126ade187a02e77dd357b6f5 (diff) |
u3v: use interface class and subclass in heuristic checks
don't access the class-specific conversation structure before we know
that the packet is a U3V packet
the USB dissector should fill interfaceClass and interfaceSubclass with
correct values - if it doesn't that's another bug to be fixed
Bug:12194
Change-Id: Ic9e73e7cb05c8887fee794e4735936caad1b7f49
Reviewed-on: https://code.wireshark.org/review/14224
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-usb.h')
-rw-r--r-- | epan/dissectors/packet-usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-usb.h b/epan/dissectors/packet-usb.h index c12d5d0e03..20ecc80b04 100644 --- a/epan/dissectors/packet-usb.h +++ b/epan/dissectors/packet-usb.h @@ -184,6 +184,8 @@ typedef struct _usb_tap_data_t { #define DEV_VENDOR_UNKNOWN 0x0000 /* this id is unassigned */ #define DEV_PRODUCT_UNKNOWN 0xfffffff /* 0x0000 and 0xffff are used values by vendors, so MSBs encode unknown */ +#define IF_SUBCLASS_MISC_U3V 0x05 + /* bmRequestType values */ #define USB_DIR_OUT 0 /* to device */ #define USB_DIR_IN 0x80 /* to host */ |