diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-25 22:51:05 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-25 22:04:23 +0000 |
commit | 38b5efd5cf9884d1274a5e9b6cdaa404c9a1d509 (patch) | |
tree | e7ac460506bf0a3cca6a89797f87e61da9f80d0d /epan/dissectors/packet-usb.h | |
parent | 843054ce963f000c023c0ba8aab6d283f92b351f (diff) |
MBIM: fix dissection of control packets when capturing with usbmon
Change-Id: Ie20fcb8d393a85d47ba78f6cb70de77fedda2587
Reviewed-on: https://code.wireshark.org/review/829
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-usb.h')
-rw-r--r-- | epan/dissectors/packet-usb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb.h b/epan/dissectors/packet-usb.h index e4b043e5e5..2e05f6a8a8 100644 --- a/epan/dissectors/packet-usb.h +++ b/epan/dissectors/packet-usb.h @@ -39,12 +39,17 @@ typedef struct _usb_address_t { typedef struct _usb_conv_info_t usb_conv_info_t; +/* header flags */ +#define USB_HEADER_IS_LINUX (1 << 0) +#define USB_HEADER_IS_64_BYTES (1 << 1) +#define USB_HEADER_IS_USBPCAP (1 << 2) + /* there is one such structure for each request/response */ typedef struct _usb_trans_info_t { guint32 request_in; guint32 response_in; nstime_t req_time; - gboolean header_len_64; + guint8 header_info; /* Valid only for SETUP transactions */ struct _usb_setup { |