Add udp_dissect_pdus.
authorMichael Mann <mmann78@netscape.net>
Tue, 18 Aug 2015 00:34:47 +0000 (20:34 -0400)
committerAnders Broman <a.broman58@gmail.com>
Tue, 18 Aug 2015 12:50:29 +0000 (12:50 +0000)
commitc05df9932caeb14dd32f5edce65cb9c348b5984c
treea40040496a3991311f33831c085ea327432b3359
parentdb5b786e55d25139b8806fcbc2852941a77118db
Add udp_dissect_pdus.

It works similar to tcp_dissect_pdus, but only works on a single packet.  Intended for protocols that go over TCP and UDP so that they can have a common dissection function.
Will of course, also work on UDP-only protocols with a fixed length header and size.

Used DNP3 as a guinea pig since "multiple PDU support" over UDP was just added.

Change-Id: Ib7af8eaf7102c96b4f8b5c1b891ae2d8f0886f9d
Reviewed-on: https://code.wireshark.org/review/10083
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
debian/libwireshark0.symbols
epan/dissectors/packet-dnp.c
epan/dissectors/packet-udp.c
epan/dissectors/packet-udp.h