Age | Commit message (Collapse) | Author | Files | Lines |
|
Modified to support the header as a pseudo_header rather than as part of
the packet data.
Fixed some calls that fetch data from the USB packet to fetch it in
little-endian byte order.
Got rid of redundant code to get conversation-specific data (the
get_usb_conv_info() call already does that).
For control packets, only parse the setup information if setup_flag is
0.
Don't interpret a control packet as a standard request unless the setup
type is "Standard".
svn path=/trunk/; revision=20632
|
|
svn path=/trunk/; revision=20346
|
|
The Solaris C compiler, among others, do not allow anonymous unions.
Patch attached.
thanks albert
svn path=/trunk/; revision=19852
|
|
ones from www.usb.org
svn path=/trunk/; revision=19766
|
|
handler to use the same code for ALL pdu types
svn path=/trunk/; revision=19701
|
|
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
|
|
support for BULK INPUT/OUTPUT
svn path=/trunk/; revision=19658
|
|
svn path=/trunk/; revision=19657
|
|
endpoint address
svn path=/trunk/; revision=19656
|
|
svn path=/trunk/; revision=19650
|
|
dissect the self-powered and the remote-wakeup flags
show the powerconsumption in mA
svn path=/trunk/; revision=19649
|
|
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
|
|
svn path=/trunk/; revision=19588
|
|
dissectors
svn path=/trunk/; revision=19587
|
|
add tracking so that when we find an interface descriptor which tells us the device class we also create a conversation for each and every endpoint for that interface and also let all conversations (one for each endpoint) share the same usb conversation info structure.
store the device type inside this conv_info structure
add the required code to manage BULK data pdus and have it for now only display what kind of bulk data is contained (interface class as snooped from the descriptors)
we now only need a class dissector table we can fork off into from the bulk dissector in usb and then an external usb_masstorage dissector that registers itself as a mass storage device and we should be all set to dissect the scsi layer being transported atop usb
svn path=/trunk/; revision=19575
|
|
host side endpoint used for conversations
ansp provide the desired port/endpoints in the call to get/create a conversation so that we later when we see the a descriptor that says Endpoint X is using class Y
we need tis to register that certain endpoints are used for mass storage
(or other applications)
svn path=/trunk/; revision=19573
|
|
svn path=/trunk/; revision=19558
|
|
endpoints are used for what purpose
svn path=/trunk/; revision=19557
|
|
struct usb_header). Just display it as a big endian number
(I don't have a spec at hand).
svn path=/trunk/; revision=19556
|
|
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
|
|
This dissector should be extended to dissect all other descriptors for all other device types as well.
svn path=/trunk/; revision=19554
|
|
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
|
|
- proto_register usb instead of eth.
svn path=/trunk/; revision=19542
|
|
or a response
svn path=/trunk/; revision=19541
|
|
parameters from request to response and dissect response data
svn path=/trunk/; revision=19540
|
|
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
|
|
dissect GET DESCRIPTOR as an example on how to add such dissectors
svn path=/trunk/; revision=19538
|
|
add dissection of the bmRequestType bitmap
svn path=/trunk/; revision=19527
|
|
svn path=/trunk/; revision=19526
|
|
with nice data
svn path=/trunk/; revision=19524
|
|
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
|
|
update the usb dissector to reflect the recent change in the pcap format
svn path=/trunk/; revision=19491
|
|
svn path=/trunk/; revision=19482
|
|
USB dissector
svn path=/trunk/; revision=19480
|