aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb-audio.c
AgeCommit message (Collapse)AuthorFilesLines
2021-07-24check_typed_item_calls.py: Add a check for all-zeroes maskMartin Mathieson1-11/+11
When the mask value is 0x0, it effectively means there is no mask, and that all bits count. Fix found instances and replace them with 0x0.
2020-09-07Yet more spelling fixes.Martin Mathieson1-1/+1
Includes small updates to the script and wireshark dictionary. Probably the last spelling fixes from me for a while.
2020-08-31More spelling fixes, last part of 2nd pass of dissectors.Martin Mathieson1-2/+2
2020-08-02USB-Audio: fix typo on display filter nameAlexis La Goutte1-18/+18
Change-Id: I601e2715c1b2004a95df6f8ad1fc7a2ff8d7305b Reviewed-on: https://code.wireshark.org/review/38010 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Petr Janecek <janecek@ucw.cz> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-08-01usb-audio: fix -Wpointer-signAlexis La Goutte1-2/+2
packet-usb-audio.c:790:26: warning: initializing 'const gchar *' (aka 'const char *') with an expression of type 'const guint8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] packet-usb-audio.c:791:82: warning: passing 'const gchar *' (aka 'const char *') to parameter of type 'const guint8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] packet-usb-audio.c:795:26: warning: initializing 'const gchar *' (aka 'const char *') with an expression of type 'const guint8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] packet-usb-audio.c:796:97: warning: passing 'const gchar *' (aka 'const char *') to parameter of type 'const guint8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Change-Id: I1024612833ee25a10f49dbda90e9cbd6a14e055d Reviewed-on: https://code.wireshark.org/review/38012 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-24USB Audio: Dissect v2 Feature unit descriptorPetr Janecek1-22/+149
Change-Id: Ic95ace16957756eb08987072e4c9e75815ecaec1 Reviewed-on: https://code.wireshark.org/review/37932 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-24USB Audio: Dissect version 2 Selector unit descriptorPetr Janecek1-0/+35
Change-Id: Ic9dc523880894cd89206d954e8e0c7a2c781f409 Reviewed-on: https://code.wireshark.org/review/37922 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-06-19Fix the type of arrays of pointers to hf_ values for bitfield routines.Guy Harris1-21/+21
The static arrays are supposed to be arrays of const pointers to int, not arrays of non-const pointers to const int. Fixing that means some bugs (scribbling on what's *supposed* to be a const array) will be caught (see packet-ieee80211-radiotap.c for examples, the first of which inspired this change and the second of which was discovered while testing compiles with this change), and removes the need for some annoying casts. Also make some of those arrays static while we're at it. Update documentation and dissector-generator tools. Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc Reviewed-on: https://code.wireshark.org/review/37517 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-04-12Fix up some broken links to specs from dissectors.Martin Mathieson1-1/+1
check_dissector_urls.py was written and used to find URLs within epan/dissectors/*.c and try to fetch them using 'requests'. Will be commmitted separately. Most of the changes were to adapt to reorganisation of IETF or 3gpp2 links, but many of the broken links are for websites or companies that no longer exist. Change-Id: Ie9afdb95099218402a61626a0cd5193c6f781b96 Reviewed-on: https://code.wireshark.org/review/36769 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-03-02USB Audio: Allow filtering on baSourceIDsTomasz Moń1-7/+7
Add baSourceIDs as FT_BYTES containing the whole array. Change-Id: I3478b4f775c3b50035dfaf9aaca559c005bfca3c Reviewed-on: https://code.wireshark.org/review/36257 Petri-Dish: Tomasz Moń <desowin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-03-02USB Audio: Dissecting Selector Unit and Endpoint DescriptorAmeya Deshpande1-0/+56
Dissection of "Class-specific Audio Control Interface Descriptor: Selector Unit Descriptor" and "ENDPOINT DESCRIPTOR" for USB Audio Device added. The USB Audio class extended Standard USB Endpoint Descriptor 2 bytes further. A condition to check whether the interface class is CLASS_AUDIO is added and the 2 bytes are dissected. Change-Id: I63f1334df71b9e8cd92a299d533b732b0a13ace7 Reviewed-on: https://code.wireshark.org/review/36250 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-28USB Audio: Audio-class specific format 3 dissectionAmeya Deshpande1-0/+49
Improve dissection of "Class-specific Audio Streaming Interface Descriptor: Format type descriptor" by performing dissection for FormatType 3. Conditions for checking Number Channels=2, Subframe Size=2 and Bit Resolution=16 are added. Else they are added to expert info. Change-Id: Ie8b005ccadda39c653782fc38280ce21cf2ca0a8 Reviewed-on: https://code.wireshark.org/review/36185 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-06USB Audio: Fix Feature Unit Descriptor dissectionTomasz Moń1-12/+26
Properly calculate the number of logical channels in the cluster. Report expert info if number of channels does not turn into integer. Bug: 16305 Change-Id: I028f3f00912629351641ef9297864ea832629cf0 Reviewed-on: https://code.wireshark.org/review/35656 Petri-Dish: Tomasz Moń <desowin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-08-25usb-audio: fix conflictAlexis La Goutte1-3/+3
'usbaudio.as_if_gen.bmFormats.rsv' exists multiple times with NOT compatible types: FT_UINT32 and FT_BOOLEAN Change-Id: I908b815bfa0f96f2ec421367995d971040f423a1 Reviewed-on: https://code.wireshark.org/review/34283 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2019-05-13USB Audio: Dissect USB Audio Interface SubclassTomasz Moń1-7/+7
Change-Id: I2e2a84b07a6d9cb17b6a12c8129e909d21a6a1d6 Reviewed-on: https://code.wireshark.org/review/33173 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13USB Audio: Dissect Audio Streaming Endpoint descriptorTomasz Moń1-2/+129
Dissect version 1 and 2 of Audio Streaming General Endpoint descriptor. Ping-Bug: 15503 Change-Id: I2b9dfdc22db0c75a0e736738c2d6ca72e7f8d9af Reviewed-on: https://code.wireshark.org/review/33172 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13USB Audio: Dissect MIDI Bulk Data Endpoint descriptorTomasz Moń1-0/+37
Ping-Bug: 15503 Change-Id: Ia984b39ec3ea7192f33a1ca7ddf8fd4c65bfacdf Reviewed-on: https://code.wireshark.org/review/33171 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13USB Audio: Do not group MIDI Events under USB AudioTomasz Moń1-9/+4
Each MIDI Event creates its own protocol tree and thus the generic USB Audio tree is not needed. Ping-Bug: 15503 Change-Id: I83ab01e340fce72e8ab824a2ee77ae37c033daae Reviewed-on: https://code.wireshark.org/review/33160 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13USB Audio: Add USB Midi Event type to headlineTomasz Moń1-1/+2
This is especially useful when there are multiple USB Midi Events in frame. Ping-Bug: 15503 Change-Id: I92ab73d5ff33f5a227f4433ba22792ca791e38e7 Reviewed-on: https://code.wireshark.org/review/33159 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13USB Audio: Dissect MIDI OUT Jack descriptorTomasz Moń1-0/+58
Ping-Bug: 15503 Change-Id: Ib3795e0bd6650319e2552ccf907b10716f1859fa Reviewed-on: https://code.wireshark.org/review/33170 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13USB Audio: Dissect MIDI IN Jack descriptorTomasz Moń1-0/+40
Ping-Bug: 15503 Change-Id: I9b3c7ac6683cc8249278dd7f037b8bbf2e146721 Reviewed-on: https://code.wireshark.org/review/33169 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13USB Audio: Dissect MIDI Streaming header descriptorTomasz Moń1-15/+81
Extend audio conversation info to include the major version of USB MIDI. The major version in Audio Control header can be different than the major version in MIDI Streaming header. Ping-Bug: 15503 Change-Id: I7ef7c15b4fcab21cfaf380f46085a1a3a13021b5 Reviewed-on: https://code.wireshark.org/review/33168 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13USB Audio: Recognize MIDI Streaming descriptorsTomasz Moń1-0/+65
Prior to this change the MIDI Streaming descriptors were labeled as UNKNOWN DESCRIPTOR. Actual contents of MIDI Streaming descriptors are not dissected yet. Ping-Bug: 15503 Change-Id: Ie55431bd89a09770ed832d7d0838eb8c2268d531 Reviewed-on: https://code.wireshark.org/review/33161 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-07USB Audio: Separate MIDI event data from paddingTomasz Moń1-5/+53
Add SysEx reassembled message information under the "USB Midi Event Packet" not under the "USB Audio". Ping-Bug: 15503 Change-Id: I2c9367b1dcce0026964e1b9cdeb2af3875b5e882 Reviewed-on: https://code.wireshark.org/review/33085 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-05USB Audio: Split AS format type dissection by versionTomasz Moń1-9/+51
Format types differ quite a lot between USB Audio version 1 and 2 thus it is good to clearly separate the dissection into separate functions. So far only the format type 1 of version 2 USB Audio Audio Streaming is dissected. Ping-Bug: 15503 Change-Id: I40544c7efb05810e2281248d1d1d33951b3b42a9 Reviewed-on: https://code.wireshark.org/review/33065 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-05USB Audio: Dissect version 2 General AS descriptorTomasz Moń1-14/+559
Ping-Bug: 15503 Change-Id: I79fe3cd8372bd762ec97a5443adf98a5190f8c21 Reviewed-on: https://code.wireshark.org/review/33064 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-03USB Audio: Generalise undecoded descriptor expert infoTomasz Moń1-7/+10
Include undecoded data expert info for partially dissected Audio Streaming descriptors. Ping-Bug: 15503 Change-Id: I93f03dea42af11b3fd4ab684766c26335bc08e57 Reviewed-on: https://code.wireshark.org/review/33063 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-03USB Audio: Dissect version 2 Output Terminal descriptorTomasz Moń1-3/+66
Dissect Output Terminal descriptor only when the version is supported by the dissectr (1 or 2). Ping-Bug: 15503 Change-Id: Icc64f8288c9917b5b7c3dfd88fe8a6d591d64dcd Reviewed-on: https://code.wireshark.org/review/33061 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-03USB Audio: Dissect version 2 Input Terminal descriptorTomasz Moń1-50/+277
Dissect Input Terminal descriptor only when the version is supported by the dissector (1 or 2). Ping-Bug: 15503 Change-Id: I98bc5d52c4b0a7849c48e2e7f9d9e36f5ef254cf Reviewed-on: https://code.wireshark.org/review/33057 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-03USB Audio: Dissect Audio Control clock selector descriptorTomasz Moń1-1/+69
Ping-Bug: 15503 Change-Id: I11aca84df7b6123682234a4d5cd562c00e8a82c2 Reviewed-on: https://code.wireshark.org/review/33040 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-03USB Audio: Dissect Audio Control clock source descriptorTomasz Moń1-13/+130
Ping-Bug: 15503 Change-Id: I14ffe24c169209e863035511f17265eda649b4c7 Reviewed-on: https://code.wireshark.org/review/33039 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-01USB Audio: Dissect version 2 Audio Control headerTomasz Moń1-7/+76
Generalise Audio Control subclass dissection to include undecoded data expert info not only when the whole subtype is unknown, but also when the descriptor was only partially dissected. Ping-Bug: 15503 Change-Id: Id9d2d9c172e7c649a44290159cb74a9dfaab746c Reviewed-on: https://code.wireshark.org/review/33037 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2018-02-12dissectors: use SPDX identifiers.Dario Lombardo1-13/+1
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-01-29Register reassembly tablesMichael Mann1-15/+2
Register all reassembly tables with a central unit, allowing the central unit to have the callback that initializes and destroys the reassembly tables, rather than have dissectors do it individually. Change-Id: Ic92619c06fb5ba6f1c3012f613cae14982e101d4 Reviewed-on: https://code.wireshark.org/review/19834 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-12-31Dissectors don't need a journey of self discovery.Michael Mann1-3/+3
They already know who they are when they register themselves. Saving the handle then to avoid finding it later. Not sure if this will increase unnecessary register_dissector functions (instead of using create_dissector_handle in proto_reg_handoff function) when other dissectors copy/paste, but it should make startup time a few microseconds better. Change-Id: I3839be791b32b84887ac51a6a65fb5733e9f1f43 Reviewed-on: https://code.wireshark.org/review/19481 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-11-03USB Audio: Fix dissection of unit descriptors missing the iFeature fieldAlexis La Goutte1-4/+6
Issue reported by Vladimir Vysotsky Bug: 13085 Change-Id: Ibdc1bf662f852818777cfb44fa19d798972390ca Reviewed-on: https://code.wireshark.org/review/18651 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-10-28usb-audio: fix fix spelling typo found by lintianAlexis La Goutte1-1/+1
Change-Id: I853bc068cfca477c2ec5968d8b9a17873ec8011c Reviewed-on: https://code.wireshark.org/review/18533 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-05-05USB Audio: add dissect of ChannelConfig bitmapAlexis La Goutte1-4/+150
Bug: 11858 Change-Id: I4a4a557f4f217c3dec5285fbc9d152c9df52ccb0 Reviewed-on: https://code.wireshark.org/review/15267 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-05-02USB Audio: Add Mixed UnitAlexis La Goutte1-0/+74
Ping-Bug: 11858 Change-Id: I53a223f1b46b513e693b40dc8754837eee5cfec0 Reviewed-on: https://code.wireshark.org/review/15242 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-05-01Make class "type" for USB conversations.Michael Mann1-0/+4
USB dissectors can't assume that only their class type has been passed around in the conversation. Make explicit check that class type expected matches the dissector and stop/prevent dissection if there isn't a match. Bug: 12356 Change-Id: Ib23973a4ebd0fbb51952ffc118daf95e3389a209 Reviewed-on: https://code.wireshark.org/review/15212 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-27USB Audio: Add feature UnitAlexis La Goutte1-1/+134
Change-Id: Id23d1c945df3c0b7392b5c807ef04c85309999de Ping-Bug: 11858 Reviewed-on: https://code.wireshark.org/review/15118 Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-25USB Audio: Add Input/Output TerminalAlexis La Goutte1-0/+178
Change-Id: Id71015673d8ad0d40afdf926a3610a7544f4e1b8 Ping-Bug:11858 Reviewed-on: https://code.wireshark.org/review/15045 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-22USB Audio: Add dissection of Format Type DescriptorAlexis La Goutte1-0/+123
Only support Type 1 and 2 Change-Id: I0d2f5b9bc59063cb77d81667fe68c37133985568 Ping-Bug:11858 Reviewed-on: https://code.wireshark.org/review/15039 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22USB Audio: Add expert info about undecoded Audio Control/Streaming Interface ↵Alexis La Goutte1-0/+2
Descriptor Ping-Bug: 11858 Change-Id: I9779ab089862c62f4f248e9b6694888368934214 Reviewed-on: https://code.wireshark.org/review/15040 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-20Manually add protocol dependencies derived from find_dissector.Michael Mann1-1/+1
Started by grepping call_dissector_with_data, call_dissector_only and call_dissector and traced the handles passed into them to a find_dissector within the dissector. Then replaced find_dissector with find_dissector_add_dependency and added the protocol id from the dissector. "data" dissector was not considered to be a dependency. Change-Id: I15d0d77301306587ef8e7af5876e74231816890d Reviewed-on: https://code.wireshark.org/review/14509 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-02-11USB Audio: Fix cannot optimize loop, the loop counter may overflow ↵Alexis La Goutte1-6/+8
[-Wunsafe-loop-optimizations] Change-Id: Ie50ecb88ad1ea5f95b5772d71a6a4b02f06c4e2f Reviewed-on: https://code.wireshark.org/review/13817 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-1/+1
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09new_create_dissector_handle -> create_dissector_handle for dissector directory.Michael Mann1-1/+1
Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now. Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f Reviewed-on: https://code.wireshark.org/review/12484 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-07-03Call reassembly_table_destroy for some dissectorsPeter Wu1-0/+7
This patch adds reassembly_table_destroy calls as cleanup function for dissectors which have a simple init routine that just calls reassembly_table_init (comments are ignored). The changes were automatically generated using https://git.lekensteyn.nl/peter/wireshark-notes/diff/one-off/cleanup-rewrite.py?id=4cc0aec05dc67a51926a045e1955b7a956757b5e (with the if and assignment parsers disabled). The only difference from the autogenerated output is that the XXX comments from the init routines in smb-pipe and tds dissectors are kept. Change-Id: I64aedf7189877247282b30b0e0f83757be6199e7 Reviewed-on: https://code.wireshark.org/review/9222 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-04-01USB Audio : fix fix Found soft-deprecated APIs (tvb_length)Alexis La Goutte1-3/+3
Change-Id: I727f0b0853920967b88a95e1708b535e8b1e4d9e Reviewed-on: https://code.wireshark.org/review/7875 Reviewed-by: Anders Broman <a.broman58@gmail.com>