Wireshark-commits: [Wireshark-commits] master-3.2 156ea49: Add support for first frames with CAN-FD
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=156ea49c9eae64137332fb22d40bd72240a544c7
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark
Commits:
156ea49 by Stefan Tatschner (stefan@xxxxxxxxxxxxxx):
Add support for first frames with CAN-FD
In the case CAN-FD is used as a transport, the header of ISO15765
changes for first frames (ISO 15765-2:2015). This patch uses the
introduced `struct can_info` to access the relevant metadata of the
underlying CAN frame. Dissection is chosen accordingly.
Ressources:
* https://www.can-cia.org/fileadmin/resources/documents/proceedings/2015_hartkopp.pdf
* http://s3.eu-central-1.amazonaws.com/cancia-de/documents/proceedings/slides/hartkopp_slides_15icc.pdf
* https://github.com/linux-can/can-utils/commit/8150e21a1129c4b822d73186cd63e0e9fbf4c32d
Change-Id: I248acacab62b51659efaed400b828ac0bb9e3c55
Reviewed-on: https://code.wireshark.org/review/35247
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 6e4b8ac35b58e49f78015431e4d7bab8eb9b6028)
Reviewed-on: https://code.wireshark.org/review/35258
Actions performed:
from 9f8c487 Change struct can_identifier to can_info
add 156ea49 Add support for first frames with CAN-FD
Summary of changes:
epan/dissectors/packet-iso15765.c | 46 ++++++++++++++++++++++++---------------
1 file changed, 29 insertions(+), 17 deletions(-)