3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
7 # SPDX-License-Identifier: GPL-2.0-or-later
10 include(WiresharkPlugin)
12 # Plugin name and version info (major minor micro extra)
13 set_module_info(ethercat 0 1 0 0)
19 packet-ethercat-datagram.c
20 packet-ethercat-frame.c
30 set_source_files_properties(
33 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
36 register_plugin_files(plugin.c
41 add_wireshark_plugin_library(ethercat epan)
43 target_link_libraries(ethercat epan)
45 install_plugin(ethercat epan)
47 file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
52 --group dissectors-prohibited
53 --group dissectors-restricted
60 # Editor modelines - https://www.wireshark.org/tools/modelines.html
68 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
69 # :indentSize=8:tabSize=8:noTabs=false: