4 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
6 * Support for candump log file format
7 * Copyright (c) 2019 by Maksim Salau <maksim.salau@gmail.com>
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef CANDUMP_PRIV_H__
13 #define CANDUMP_PRIV_H__
16 #include <wiretap/wtap.h>
17 #include <wiretap/socketcan.h>
18 #include <epan/dissectors/packet-socketcan.h>
20 //#define CANDUMP_DEBUG
24 uint8_t data
[CANFD_MAX_DLEN
];
50 uint64_t file_bytes_read
;
60 run_candump_parser(candump_state_t
*state
, int *err
, char **err_info
);
64 #define candump_debug_printf(...) printf(__VA_ARGS__)
66 #define candump_debug_printf(...) (void)0
69 #endif /* CANDUMP_PRIV_H__ */