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(falco-bridge 0 0 4 0)
29 set_source_files_properties(
32 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
35 register_plugin_files(plugin.c
40 add_stratoshark_plugin_library(falco-bridge epan)
42 # XXX Hacks; need to fix in falcosecurity-libs.
43 target_compile_definitions(falco-bridge PRIVATE
46 # target_compile_options(falco-bridge PRIVATE -Wno-address-of-packed-member)
48 target_include_directories(falco-bridge SYSTEM PRIVATE
53 # libsinsp/dumper.h includes libscap/scap_savefile_api.h, which includes
54 # libscap/scap_zlib.h.
55 target_include_directories(falco-bridge SYSTEM PRIVATE ${ZLIB_INCLUDE_DIR})
58 target_link_libraries(falco-bridge
60 ${SINSP_LINK_LIBRARIES}
63 install_plugin(falco-bridge epan)
69 --group dissectors-prohibited
70 --group dissectors-restricted
77 # Editor modelines - https://www.wireshark.org/tools/modelines.html
85 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
86 # :indentSize=8:tabSize=8:noTabs=false: