I want to add an input parameter to tshark command line and to sharkd as json.
For example:
tshark -new_param_name=new_param_value
In sharkd it will be a new parameter in json file
I want to be able to use these new_param_name/new_param_value in a dissector code ( for example epan/dissectors/packet-gsm_map.c)
What is the correct way to add this parameter in wireshark code? Is there an include file with all global parameters, or special struct defined for this purpose?