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(opcua 1 0 0 0)
19 set(DISSECTOR_SUPPORT_SRC
20 opcua_transport_layer.c
21 opcua_security_layer.c
22 opcua_application_layer.c
24 opcua_complextypeparser.c
28 opcua_extensionobjecttable.c
37 ${DISSECTOR_SUPPORT_SRC}
40 set_source_files_properties(
43 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
46 register_plugin_files(plugin.c
49 ${DISSECTOR_SUPPORT_SRC}
52 add_wireshark_plugin_library(opcua epan)
54 target_link_libraries(opcua epan ${GCRYPT_LIBRARIES})
56 install_plugin(opcua epan)
58 file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
63 --group dissectors-prohibited
64 --group dissectors-restricted
67 ${DISSECTOR_SUPPORT_SRC}
72 # Editor modelines - https://www.wireshark.org/tools/modelines.html
80 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
81 # :indentSize=8:tabSize=8:noTabs=false: