Add preference parameter to tshark/sharkd [closed]

I want to add an input parameter to tshark command line and to sharkd as json that is relevant for all dissectors. I want it to be availabe to all dissectors, so i want to pass it as
tshark -o param_name
and not
tshark -o dissector_name.param_name

How do i do it?

yaroni's avatar
1
yaroni
asked 2020-04-26 16:01:23 +0000, updated 2020-04-26 16:01:58 +0000
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "duplicate question" by grahamb 2020-04-26 16:05:25 +0000

Comments

Duplicate of the original question that has been clarified.

grahamb's avatar grahamb (2020-04-26 16:05:18 +0000) edit

This is not a duplicate as in original question i asked how to add a preference to a specific protocol, and here i ask how to add a preference so multiple protocol/dissector will be able to see this parameter

yaroni's avatar yaroni (2020-04-26 20:01:46 +0000) edit
add a comment see more comments