Wireshark-bugs: [Wireshark-bugs] [Bug 4664] USB URB hex bytes not shown in "packet bytes" pane.
Date: Mon, 12 Apr 2010 21:19:11 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4664

--- Comment #9 from Guy Harris <guy@xxxxxxxxxxxx> 2010-04-12 21:19:10 PDT ---
The USB header in a pcap capture file or in a section of a pcap-ng capture file
must be in the same byte order as the pcap capture file or the section of the
pcap-ng capture file.  libpcap/WinPcap makes that happen, by, when you read a
packet from a file, byte-swapping the multi-byte integral quantities in the
header if the pcap file/pcap-ng section is in the opposite byte order from the
host reading the file.  We would need to do the same.

That would mean that the USB dissector should fetch multi-byte integral
quantities with, for example, tvb_memcpy(), rather than tvb_get_ routines.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.