aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb.h
AgeCommit message (Collapse)AuthorFilesLines
2013-11-12Remove usb_conv_info_t from packet_info and pass the data directly into the ↵Michael Mann1-6/+7
subdissectors. Bug 9413 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9413) svn path=/trunk/; revision=53274
2013-10-13whitespace fixes; mostly: remove trailing blanksBill Meier1-1/+1
svn path=/trunk/; revision=52591
2013-09-02dissect_usb_descriptor_header() takes an additional value_stringMartin Kaiser1-1/+4
parameter to intrepret the descriptor type depending on the class per default, the list of standard descriptor types is used svn path=/trunk/; revision=51642
2013-07-31Convert the USB dissectors to wmem.Evan Huus1-1/+3
svn path=/trunk/; revision=51042
2013-03-07From Max Baker via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8431Evan Huus1-4/+11
Add a few member variables to the USB conversation structure, necessary for a USB PTP dissector. svn path=/trunk/; revision=48184
2013-03-01From Steve Magnani via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8338Evan Huus1-0/+3
Centralize logic related to per-interface conversations, and expose it for use by class-specific dissectors. Class-specific descriptor dissectors also need to know the interface in whose context they are called to work. This is a prerequisite for a USB Video Class dissector, which needs to decode many class-specific descriptors. svn path=/trunk/; revision=47990
2013-02-15From Steve Magnani via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8264Evan Huus1-0/+1
Improve handling of truncated USB Configuration descriptors. In contrast to other descriptor types, configuration descriptors have varying lengths and may be quite long. This makes them much more prone to truncation by a host that is cautious about reading large descriptors. A real-world case has arisen where a host requests a partial configuration descriptor of a USB webcam, and wireshark improperly reports that the response is malformed. Change configuration descriptor dissection to distinguish between truncation induced by the host, which is not an error, and descriptor truncation or reporting of invalid descriptor lengths by the device, which are. This patch also relieves class-specific dissectors of the burden of checking that the descriptor length and type fields are available, and that all the bytes claimed by the descriptor length are also available. svn path=/trunk/; revision=47676
2012-11-29From Michal Labedzki:Anders Broman1-0/+7
USB: Add support for vendor_id/product_id, bus_id/device_address and class/subclass/protocol tables USB subdissectors can be decoded by class/subclass/protocol. If fail try vendor_id/product_id. bus_id/device_address is intented to use by DecodeBy, so user can decode specified device as need. Part of: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5032 svn path=/trunk/; revision=46283
2012-11-29From Michal Labedzki:Anders Broman1-21/+25
USB: Update some descriptions found in USB 3.0 specification Part of: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5032 svn path=/trunk/; revision=46279
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-27From Steve Magnani:Anders Broman1-0/+7
Add decoding of fields within endpoint descriptor wMaxPacketSize https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7206 svn path=/trunk/; revision=42286
2012-03-21From Steve Magnani:Anders Broman1-2/+19
USB: incorrect generated bInterfaceClass for composite device CONTROL transactions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6964 svn path=/trunk/; revision=41715
2012-03-17From Steve Magnani via ↵Jeff Morriss1-2/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6963 : Conversation address generation during processing of endpoint descriptors is not being done in a manner consistent with that of general USB packet dissection. I am not aware of any observable manifestation of this bug. svn path=/trunk/; revision=41634
2012-03-10From Steve Magnani: USB: centralize some common dissection code for class ↵Anders Broman1-0/+3
reuse. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6930 svn path=/trunk/; revision=41458
2012-02-12From Steve Magnani:Anders Broman1-0/+2
USB: add infrastructure for dissecting class-specific descriptors. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6825 svn path=/trunk/; revision=40979
2010-05-16Attempt to handle isochronous descriptors between the 64-byte header andGuy Harris1-0/+20
the payload. Should fix bug 4401. svn path=/trunk/; revision=32828
2010-04-21From Chris Maynard:Guy Harris1-0/+1
Support PPP-over-USB. Don't remove the USB pseudo-header from the packet data for Linux USB packets, just byte-swap it if necessary and have the USB dissector fetch the pseudo-header from the raw packet data. Update USB language ID values. svn path=/trunk/; revision=32534
2009-10-29From Marton Nemeth via bug 4173:Stig Bjørlykke1-0/+15
Move bmRequestType field constants to header file. svn path=/trunk/; revision=30761
2007-03-25From a Jon Smirl patch Ronnie Sahlberg1-1/+1
rename the conversation field "class" to "interfaceClass" svn path=/trunk/; revision=21194
2007-03-25From Jon SmirlRonnie Sahlberg1-1/+1
change the private data pointer name from masstorage to class_data since there will be future class specific dissectors that will also want to hang some extra data off these structures svn path=/trunk/; revision=21193
2007-03-25Change USB address structure back to 8 bytes in length.Ronnie Sahlberg1-1/+1
It is suboptimal to have the endpoint both being the "port" and also 4 bytes out of the address. But it looks better to have addresses as <device>.<endpoint> . svn path=/trunk/; revision=21177
2007-03-25create a tap for usb so that we can do conversation/host listsRonnie Sahlberg1-0/+7
svn path=/trunk/; revision=21176
2007-03-25unbreaking the usb dissectorRonnie Sahlberg1-1/+2
since dlt189 was introduced the dissector has been suboptimal assuming the capture usb_memory_stick.pcap on the wiki shows what this linktype should look like, this patch - adds request in/response in/time generated fields to the dissect pane - fixes the tracking of what is a request and what is a response (the old code just can not have worked!) - fixes conversation tracking to work (dont add the port/endpoint into the length of the address) - handles some mysterious extra 8 bytes prepended to a lot of different packets. svn path=/trunk/; revision=21173
2007-01-08Commit my USB changes (change address handling)Jörg Mayer1-0/+7
svn path=/trunk/; revision=20346
2006-11-07from albert chinRonnie Sahlberg1-1/+1
The Solaris C compiler, among others, do not allow anonymous unions. Patch attached. thanks albert svn path=/trunk/; revision=19852
2006-11-01update the list of defined application classes and list all the official ↵Ronnie Sahlberg1-0/+17
ones from www.usb.org svn path=/trunk/; revision=19766
2006-10-22add a dissector table for class specific control input/output pdusRonnie Sahlberg1-6/+9
implement class specific control commands : reset and getmaxlun for mass storage now with a better understanding of the problem space for usb and device classes we can start cleaning the code up and make it nice svn path=/trunk/; revision=19659
2006-10-18new dissector : usb mass storageRonnie Sahlberg1-0/+9
this is a wrapper protocol to store SCSI frames inside usb bulk data transfers the dissector is far from complete but does track ITL and ITLQ structures and will also call the SCSI dissector to dissect the SCSI CDB. what is still missing is handling of data in/out and scsi responses at least it will now display the SCSI CDB and dissect it. woohoo svn path=/trunk/; revision=19589
2006-10-18move some defines to packet-usb.h so that they can be shared with other ↵Ronnie Sahlberg1-0/+59
dissectors svn path=/trunk/; revision=19587