forked from osmocom/wireshark
From Steve Magnani:
USB: support filtering of isochronous packets via usb.bInterfaceClass. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6824 svn path=/trunk/; revision=40973
This commit is contained in:
parent
4a0b7db0a2
commit
75de89cd1b
|
@ -2210,6 +2210,11 @@ dissect_linux_usb_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent,
|
|||
break;
|
||||
case URB_ISOCHRONOUS:
|
||||
{
|
||||
guint32 iso_numdesc = 0;
|
||||
proto_item *ti = NULL;
|
||||
ti=proto_tree_add_uint(tree, hf_usb_bInterfaceClass, tvb, offset, 0, usb_conv_info->interfaceClass);
|
||||
PROTO_ITEM_SET_GENERATED(ti);
|
||||
|
||||
/* All fields which belong to Linux usbmon headers are in host-endian
|
||||
* byte order. The fields coming from the USB communication are in little
|
||||
* endian format (see usb_20.pdf, chapter 8.1 Byte/Bit ordering).
|
||||
|
@ -2218,10 +2223,8 @@ dissect_linux_usb_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent,
|
|||
* than packet was captured then the necessary swapping happens in
|
||||
* wiretap/pcap-common.c, pcap_process_linux_usb_pseudoheader().
|
||||
*/
|
||||
guint32 iso_numdesc = 0;
|
||||
|
||||
if (setup_flag == 0) {
|
||||
proto_item *ti = NULL;
|
||||
proto_tree *setup_tree = NULL;
|
||||
int type_2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue