aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-u3v.c
AgeCommit message (Collapse)AuthorFilesLines
2017-04-03Use col_append_str() for fixed stringsStig Bjørlykke1-3/+3
Change from col_append_fstr() to col_append_str() when appending strings without formatting. Change-Id: I8975704c246f2b9a1301ed5f96273aa9d61c6f44 Reviewed-on: https://code.wireshark.org/review/20857 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
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-10-26u3v: fix spelling typo found by lintianAlexis La Goutte1-16/+16
Change-Id: I03f79e4502694042a78762f4711712a31f7ca028 Reviewed-on: https://code.wireshark.org/review/18490 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2016-10-11u3v / gvsp update the PFNC pixelformat definitions accordingMoeller, Thies1-406/+406
to http://www.emva.org/wp-content/uploads/GenICamPixelFormatValues.pdf Change-Id: I744248d0ca73c2ad9a90f1e662ccd6b90bcade5c Reviewed-on: https://code.wireshark.org/review/18126 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-10-11u3v fix typo in descriptorMoeller, Thies1-1/+1
Change-Id: Ib62546216faa8d231cc004ab214a7ca4931919f2 Reviewed-on: https://code.wireshark.org/review/18153 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-09-08U3V: ensure that gencp_transaction_t structure is fully initializedPascal Quantin1-2/+2
Bug: 12829 Change-Id: Iee8817fc0331af037284e5ec21b30671c6b3bd7d Reviewed-on: https://code.wireshark.org/review/17569 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
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-03-15u3v: set interface class/subclass by first clearly identified packetMoeller, Thies1-0/+9
In case no descriptors are in the trace, payload packets can only be identified, if a clearly identified STREAM or CONTROL packet sets class/subclass of the conversation Change-Id: I30be30df908ede468fadf56fdef20f9869ce6b56 Reviewed-on: https://code.wireshark.org/review/14467 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-02-28u3v: use interface class and subclass in heuristic checksMartin Kaiser1-9/+4
don't access the class-specific conversation structure before we know that the packet is a U3V packet the USB dissector should fill interfaceClass and interfaceSubclass with correct values - if it doesn't that's another bug to be fixed Bug:12194 Change-Id: Ic9e73e7cb05c8887fee794e4735936caad1b7f49 Reviewed-on: https://code.wireshark.org/review/14224 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-02-28u3v: clean up the heuristic checkMartin Kaiser1-9/+10
check for the minimum lenght before dereferencing data add a NULL check for usb_conv_info Change-Id: I91014d5929f57cc9eed2bfc7adef9f89541ece45 Reviewed-on: https://code.wireshark.org/review/14221 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-02-28U3V: Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-2/+2
Change-Id: Ie86aba59e95ed739b07fcb9f596fa206bf9793f5 Reviewed-on: https://code.wireshark.org/review/14217 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-02-25Sort the pixel formats.Guy Harris1-340/+340
(qsort() is your friend.) Change-Id: I71ab5fea0c8c0f548d737f5d5d1b7523b8a668ea Reviewed-on: https://code.wireshark.org/review/14137 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-25u3v: dissector for the USB3 Vision protocolThies Moeller1-0/+2755
Dissector for the USB3 Vision machine vision camera protocol. * Descriptors * Bootstrap registers * Control (GenCP) * Stream data A sample capture (usb_u3v_sample.pcapng) has been uploaded to https://wiki.wireshark.org/SampleCapture USB3 Vision a standard developed under the sponsorship of the AIA for the benefit of the machine vision industry. U3V stands for USB3 Vision (TM) Protocol Change-Id: If1206df7974c6a91cf18f59ddecf9d38b9827934 Reviewed-on: https://code.wireshark.org/review/14008 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: Anders Broman <a.broman58@gmail.com>