Commit Graph

18 Commits

Author SHA1 Message Date
Ronnie Sahlberg 40ee68e3d4 correct the little / big endian comment
svn path=/trunk/; revision=19558
2006-10-16 14:54:20 +00:00
Ronnie Sahlberg 2cb017d84f dissect a lot more of the descriptors so that we can finally see which endpoints are used for what purpose
svn path=/trunk/; revision=19557
2006-10-16 14:43:35 +00:00
Jörg Mayer a32f396008 Display the skipped 4 bytes from the header as setup (see
struct usb_header). Just display it as a big endian number
(I don't have a spec at hand).


svn path=/trunk/; revision=19556
2006-10-16 14:24:24 +00:00
Ronnie Sahlberg ff7e652235 break finding/creating a conversation out into its own helper (which makes it easier later when we find an endpoint description that tells us some other endpoint is used for massstorage)
implement some more descriptors


svn path=/trunk/; revision=19555
2006-10-16 13:42:59 +00:00
Ronnie Sahlberg af000bdaa6 Finish dissection of GET DESCRIPTOR for the devicetype: DEVICE.
This dissector should be extended to dissect all other descriptors for all other device types as well.





svn path=/trunk/; revision=19554
2006-10-16 10:33:46 +00:00
Ronnie Sahlberg c5480555fd add some variables to the task structure so that we can pass TYPE/INDEX from the GET DESCRIPTOR request to the response dissector
(we need this in order to know how to dissect the response?)



svn path=/trunk/; revision=19553
2006-10-16 08:47:48 +00:00
Jörg Mayer b9582da89f - gcc dies on "default: }", add a ;
- proto_register usb instead of eth.

svn path=/trunk/; revision=19542
2006-10-15 12:27:51 +00:00
Ronnie Sahlberg d0bea0954e populate the info column with the request type and whetehr it is a request or a response
svn path=/trunk/; revision=19541
2006-10-15 08:21:56 +00:00
Ronnie Sahlberg a78a49b057 add tracking of request/responses for CONTROL INPUT so we can start passing parameters from request to response and dissect response data
svn path=/trunk/; revision=19540
2006-10-15 08:12:41 +00:00
Ronnie Sahlberg 714ce64b12 add a new port type for usb endpoints
start introducing conversations to the usb dissector so that we can start tracking requests/responses
which we need to in order to dissect for example the data returned by a device to a GET DESCRIPTORS call



svn path=/trunk/; revision=19539
2006-10-15 06:10:59 +00:00
Ronnie Sahlberg 077e03a549 start dissecting the setup headers
dissect GET DESCRIPTOR as an example on how to add such dissectors


svn path=/trunk/; revision=19538
2006-10-15 03:49:27 +00:00
Ronnie Sahlberg cfaf149ae8 rename some fields in the setup blob to use the same names as in the standard
add dissection of the bmRequestType bitmap



svn path=/trunk/; revision=19527
2006-10-14 10:09:32 +00:00
Ronnie Sahlberg f1f76a1817 put the packet type in the summary line
svn path=/trunk/; revision=19526
2006-10-14 09:43:17 +00:00
Ronnie Sahlberg 24ef4fcef0 create a new address type AT_USB and start populating the packet list
with nice data




svn path=/trunk/; revision=19524
2006-10-14 05:02:40 +00:00
Jaap Keuter 804bed87e6 From Paolo Abeni:
The attached patch fix parsing of the setup header in the usb dissector.
Currently the size of the field specified into proto_tree_add_item call
was wrong.

svn path=/trunk/; revision=19503
2006-10-12 08:04:11 +00:00
Ronnie Sahlberg 72817cf7bd from Paolo A
update the usb dissector to reflect the recent change in the pcap format


svn path=/trunk/; revision=19491
2006-10-11 09:47:27 +00:00
Anders Broman cec6d51774 u_int32_t gives error on Windows assuming guint32 will do.
svn path=/trunk/; revision=19482
2006-10-10 21:46:44 +00:00
Ronnie Sahlberg 26f642778f From Paolo Abeni
USB dissector


svn path=/trunk/; revision=19480
2006-10-10 21:00:35 +00:00