udp-nm: Extend and rename to autosar-nm
authorMaksim Salau <maksim.salau@gmail.com>
Tue, 15 Jan 2019 19:26:10 +0000 (22:26 +0300)
committerAnders Broman <a.broman58@gmail.com>
Thu, 17 Jan 2019 08:11:22 +0000 (08:11 +0000)
commit7f49d0d1bba009bf82b31ad3cf17c5baf218ea4f
treef438aaab56138a4072e0d22a2214e3e10d50443a
parent9f988b69a4efb7dfa257598e0c0d33959c7fd467
udp-nm: Extend and rename to autosar-nm

The UDP-NM dissector is actually AUTOSAR-NM and works over UDP and CAN.

The change also adds parsing of reserved bits of control bit vector and
the 'NM Coordinator Id' field which was present in revision 3.2 but now
is deprecated (bits are marked as reserved).

Since not every packet on a CAN bus is an Network Management one,
parameters were added to filter only packets with specific ids.
In order to define ids to be dissected one should define a reference id
and a mask in preferences.

Change-Id: Ica69032b7200c4c3a1f81130ebcea0dd4144cbf2
Reviewed-on: https://code.wireshark.org/review/31560
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/CMakeLists.txt
epan/dissectors/packet-autosar-nm.c [moved from epan/dissectors/packet-udp-nm.c with 56% similarity]