aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gvsp.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-10GVSP: Disable the heuristic by defaultAlexis La Goutte1-1/+1
Already try to enhance but get always some false positive with STUN/RTP Change-Id: I187959ed526a0d538a2c6db76af07ae3dbf06c6e Reviewed-on: https://code.wireshark.org/review/18702 Reviewed-by: thies.moeller <thies.moeller@baslerweb.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-10-13Convert most UDP dissectors to use "auto" preferences.Michael Mann1-8/+3
Similar to the "tcp.port" changes in I99604f95d426ad345f4b494598d94178b886eb67, convert dissectors that use "udp.port". More cleanup done on dissectors that use both TCP and UDP dissector tables, so that less preference callbacks exist. Change-Id: If07be9b9e850c244336a7069599cd554ce312dd3 Reviewed-on: https://code.wireshark.org/review/18120 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-10-11u3v / gvsp update the PFNC pixelformat definitions accordingMoeller, Thies1-192/+453
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-07-26GVSP: enforce heuristic (get some false positive with STUN)Alexis La Goutte1-0/+10
Change-Id: Ic1da51a71ee4fa60267751d7bb3f46225ad2f084 Reviewed-on: https://code.wireshark.org/review/16573 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-03-26gvsp: allow for header-only GVSP payload packetMoeller, Thies1-28/+46
if a packet is not successful ( after resend ) the data section has to be skipped GEV 2.0 spec [CR-203st]/[CR-204st] Bug: 12281 Change-Id: I9465000fb3e25f1e00f419cc7ccae29bd32a56b1 Reviewed-on: https://code.wireshark.org/review/14555 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-01-13Use result of register_dissectorPeter Wu1-2/+1
Assign result of `register_dissector(..., func, proto)` to FOO_handle and remove `FOO_handle = create_dissector_handle(func, proto)`. Found by looking for files named packet-FOO.c having the above create_dissector_handle pattern. Some files (with different dissect routines for the two functions) remain unchanged. Change-Id: Ifbed8202c6dbc63a1dae9acc03313980ffbbbb90 Reviewed-on: https://code.wireshark.org/review/13247 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@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-19coverity 1250812: fix a (very unlikely) integer overflowMartin Kaiser1-2/+10
Change-Id: I151cb2186c7dabbab1bef5cd35dabe19a3600dfd Reviewed-on: https://code.wireshark.org/review/9703 Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-07-17Remove all preferences related to enabling/disabling heuristic dissectors.Michael Mann1-8/+2
The preferences are still supported for backwards compatibility, but the heuristic_protos file has final say on the "preference" to enable/disable a heuristic dissector. Also add parameter to heur_dissector_add() for the "default" enable/disable of a heuristic dissector. With this parameter, a few more (presumably weak) heuristic dissectors have been "registered" but of course default to being disabled. Change-Id: I51bebb2146ef3fbb8418d4f5c7f2cb2b58003a22 Reviewed-on: https://code.wireshark.org/review/9610 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-07-12Add "user presentable" and "unique string ids" to heuristic table entries.Michael Mann1-1/+1
This allows better presentation of heuristic dissectors to the end user. Change-Id: I2ff3985ab914e83c2989880cc0c7b9904045b3f6 Reviewed-on: https://code.wireshark.org/review/9602 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-03-07GVSP: add an option to deactivate (a rather weak) heuristic dissectorPascal Quantin1-2/+20
Also add the ability to use "Decode As" function Change-Id: I8be0ecd1d5d6b86d4aa9d69907e9216791be2ae0 Reviewed-on: https://code.wireshark.org/review/7577 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-03-07GVSP: fix gvsp.zonedirecton field registrationPascal Quantin1-1/+1
Change-Id: I1d53bf13c6692ee719a4fcfa55e3c5b1b67a893f Reviewed-on: https://code.wireshark.org/review/7576 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-12-09GVSP: Missing break in switch (CID 1247683 & 1247684)Alexis La Goutte1-3/+3
Change-Id: Ibd3aef4101126f02453bab10cd5ca31e716334de Reviewed-on: https://code.wireshark.org/review/5617 Reviewed-by: W Moxam <warrenm@ptgrey.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-14packet-gvsp.c: removed an unused #defineBill Meier1-2/+0
Change-Id: If330124cdc459867b33e1bbbe960c969deb85b10 Reviewed-on: https://code.wireshark.org/review/4684 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-14packet-gvsp.c: sort pixeltypenames[] for extended value-string use.Bill Meier1-76/+97
Change-Id: Iaf753d432603422922ad7ef4ba7a2c2b3cd84136 Reviewed-on: https://code.wireshark.org/review/4678 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-14packet-gvsp.c: Fix license; Remove unneeded code from proto_reg_handoff..(); ↵Bill Meier1-176/+170
adjust whitespace. Change-Id: I24a9033bbed3d50daf886f3d00239c1580894c35 Reviewed-on: https://code.wireshark.org/review/4670 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-14Adding GigEVision GVSP dissectorwarrenm1-0/+1982
Bug: 8673 Change-Id: I4e8270c76291d6ea0e0187f00a342804275f2c11 Reviewed-on: https://code.wireshark.org/review/4547 Reviewed-by: Michael Mann <mmann78@netscape.net> 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>