Age | Commit message (Collapse) | Author | Files | Lines |
|
non-autogenerated epan/dissectors:
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_BOOLEAN
FT_IPv4
FT_EUI64
FT_GUID
FT_UINT_STRING
Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260)
svn path=/trunk/; revision=39328
|
|
non-autogenerated epan/dissectors:
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_UINT8
FT_UINT16
FT_UINT24
FT_UINT32
FT_UINT64
FT_INT8
FT_INT16
FT_INT24
FT_INT32
FT_INT64
FT_FLOAT
FT_DOUBLE
svn path=/trunk/; revision=39288
|
|
reference an hf item (in hf[] with types:
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39260
|
|
could have been NULL is if se_alloc0() returned NULL, but then it would have already been dereferenced before now. Fixes Coverity CID 612, "REVERSE INULL".
svn path=/trunk/; revision=38417
|
|
Resolves bug 4814.
svn path=/trunk/; revision=37039
|
|
Remove an unneeded line of code;
Do some indentation & whitespace cleanup.
svn path=/trunk/; revision=36785
|
|
svn path=/trunk/; revision=36765
|
|
svn path=/trunk/; revision=36761
|
|
for this field. This change was prompted because of the following query:
http://ask.wireshark.org/questions/3113/usburb_type-values
Also, remove 2 unused fields found by running tools/checkhf.pl.
svn path=/trunk/; revision=36331
|
|
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys. (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)
svn path=/trunk/; revision=35224
|
|
svn path=/trunk/; revision=35182
|
|
svn path=/trunk/; revision=35025
|
|
Sort value_string array to be in ascending order by value;
Minor whitespace cleanup.
svn path=/trunk/; revision=34729
|
|
the payload. Should fix bug 4401.
svn path=/trunk/; revision=32828
|
|
svn path=/trunk/; revision=32735
|
|
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
|
|
svn path=/trunk/; revision=32410
|
|
svn path=/trunk/; revision=31623
|
|
col_clear.diff
Remove calls to col_clear :
- called twice.
- before functions which also clear the column
- by replacing col_clear + col_append_xxx with col_add_xxx
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31517
|
|
When an unknown requests arrives try to parse it using the usual request format.
svn path=/trunk/; revision=30775
|
|
Take the USB descriptor length from packet.
svn path=/trunk/; revision=30763
|
|
Move bmRequestType field constants to header file.
svn path=/trunk/; revision=30761
|
|
Add support for input URBs.
svn path=/trunk/; revision=30690
|
|
svn path=/trunk/; revision=29446
|
|
svn path=/trunk/; revision=29340
|
|
*what* as hex? The stuff we now display as generic fields?).
svn path=/trunk/; revision=29257
|
|
Here is a patch against SVN that implements preliminary support for USB HID
devices. At the moment it only dissects the initial set up packets (which you
will see if you hotplug a keyboard or mouse.)
The patch also fixes a minor bug in the USB dissector code which reported
certain packets as malformed due to miscounting bytes, and it reports control
packet data and padding data in a more user-friendly manner.
svn path=/trunk/; revision=29256
|
|
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
|
|
- Removed heuristic for find if is_request and used event_type
- URB_INTERRUPT don't goes in reverse direction... fixed
svn path=/trunk/; revision=28477
|
|
value.
svn path=/trunk/; revision=27113
|
|
svn path=/trunk/; revision=27099
|
|
so that if they're cut short, they appear to be the length of the
remaining data in the packet, rather than zero-length.
svn path=/trunk/; revision=27049
|
|
the Linux USB capture mechanism, there are always 8 bytes of setup
header after the URB, regardless of whether there's a setup header or
not; if there is no setup header, we just skip those 8 bytes.
Don't skip them *twice*, however.
svn path=/trunk/; revision=27046
|
|
Provide dissectors for most other setup packets. (Still some more work
needed on them.)
Show descriptor types as decimal, as they are in the USB 2.0 spec.
svn path=/trunk/; revision=27036
|
|
svn path=/trunk/; revision=27034
|
|
put them into the setup_request_names_vals value_string.
When processing a response, use the request type value, so we only
dissect standard replies when it's a reply to a standard request.
Display the bRequest value in decimal, as that's how they're specified
in the USB 2.0 spec.
svn path=/trunk/; revision=27033
|
|
Have setup dissectors return the offset past the end of what they
dissect, and have their caller set its offset based on that.
Use tvb_reported_length_remaining(), not tvb_length_remaining(), to
decide whether there's more data, so that we throw an exception if the
packet was cut short by a snapshot length.
Add "Application Data" only if there's extra data to be added.
svn path=/trunk/; revision=27020
|
|
data; at best, that can be a bit confusing, and, at worst, if the field
isn't long enough, or the offset is wrong, it can cause an exception to
be thrown and the dissection to fail.
svn path=/trunk/; revision=26868
|
|
bug 2922.
svn path=/trunk/; revision=26333
|
|
svn path=/trunk/; revision=26089
|
|
Clean up the Linux USB pseudoheader dissection.
svn path=/trunk/; revision=25990
|
|
When an ISOCHRONOUS URB was captured the packet-usb.c does not handle it.
Case URB_ISOCHRONOUS was added at two different places to handle it also.
svn path=/trunk/; revision=23817
|
|
svn path=/trunk/; revision=23613
|
|
svn path=/trunk/; revision=23557
|
|
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace
- col_append_fstr() with faster col_append_str()
- col_add_str() with col_set_str()
when it's safe
svn path=/trunk/; revision=23252
|
|
add defines for data direction (which direction in/out is data being transferred for this particylar request/response pair)
and a mask for which bits of the byte contains the type.
svn path=/trunk/; revision=21207
|
|
add a whole bunch of new descriptor types
svn path=/trunk/; revision=21199
|
|
Charles Lepple
This patch enables packet-usb.c to display all descriptors in the GET
CONFIGURATION request, regardless of whether we know how to decode
them. (All descriptors in that request share the same first two
bytes.)
It also adds the HID descriptor type (not the report descriptor,
though - that is buried in a class request, not a device request). I
am still working on actually decoding this descriptor.
svn path=/trunk/; revision=21197
|
|
rename the conversation field "class" to "interfaceClass"
svn path=/trunk/; revision=21194
|
|
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
|