THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

So I finally solved it :) I found the gryphon plugin again that's mentioned in documentation to be taken as example (which I did as I started development with Wireshark 2.2) and compared it to my current file.

There were more things to take care of:

replaced register function:

register_dissector_files(

seems to be replaced by

register_plugin_files(

additional paramter

add_plugin_library(

has a new destination parameter

new functions

There's a two new function

target_link_libraries(protocolname epan)
set_source_files_properties(

you will have to add, that solved my linker errrors

replaced install function:

install(TARGETS protocolname

seems to be replaced by

install_plugin(protocolname destination)

After doing all the changes and re-adding plugin.c to PLUGIN_FILES (seems to be generated through one of the functions I was missing), the dissector worked again without any source code change - great!

So I finally solved it, it :) I found the gryphon plugin again that's mentioned in documentation seems to be taken as example (which I did as I started development with Wireshark 2.2) and compared it to my current file.compile now. Will add details later :)

There were more things to take care of:

replaced register function:

register_dissector_files(

seems to be replaced by

register_plugin_files(

additional paramter

add_plugin_library(

has a new destination parameter

new functions

There's a two new function

target_link_libraries(protocolname epan)
set_source_files_properties(

you will have to add, that solved my linker errrors

replaced install function:

install(TARGETS protocolname

seems to be replaced by

install_plugin(protocolname destination)

After doing all the changes and re-adding plugin.c to PLUGIN_FILES (seems to be generated through one of the functions I was missing), the dissector worked again without any source code change - great!