Wireshark-commits: [Wireshark-commits] master 8bb5320: wiretap: Add support of candump logs

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 11 Jul 2019 04:44:08 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8bb5320cb2c2574f657679e387068d27bc178fdb
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

8bb5320 by Maksim Salau (maksim.salau@xxxxxxxxx):

    wiretap: Add support of candump logs
    
    The change adds ability to import text logs produced by the candump
    tool.
    
    E.g.: candump -L can0 -or- candump -l can0
    
    The whole file is read and converted into a temporary PCAPNG file with
    Exported PDU packets containing SocketCAN frames.
    
    Bug: 15889
    Change-Id: I5ad93dca96d6e955a4b21cf624f0553e60f060f6
    Reviewed-on: https://code.wireshark.org/review/33800
    Petri-Dish: Jim Young <jim.young.ws@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  db9ec7f   s7comm: Additions and name corrections in programming/userdata functions
     add  8bb5320   wiretap: Add support of candump logs


Summary of changes:
 wiretap/CMakeLists.txt       |   6 +
 wiretap/candump.c            | 323 ++++++++++++++++++++++++++++++++++++++++
 wiretap/candump.h            |  20 +++
 wiretap/candump_parser.lemon | 344 +++++++++++++++++++++++++++++++++++++++++++
 wiretap/candump_priv.h       |  87 +++++++++++
 wiretap/candump_scanner.l    | 107 ++++++++++++++
 wiretap/file_access.c        |   2 +
 7 files changed, 889 insertions(+)
 create mode 100644 wiretap/candump.c
 create mode 100644 wiretap/candump.h
 create mode 100644 wiretap/candump_parser.lemon
 create mode 100644 wiretap/candump_priv.h
 create mode 100644 wiretap/candump_scanner.l