Wireshark-bugs: [Wireshark-bugs] [Bug 13258] New: Create new dissector plugin under infiniband

Date: Mon, 19 Dec 2016 13:36:06 +0000
Bug ID 13258
Summary Create new dissector plugin under infiniband
Product Wireshark
Version unspecified
Hardware x86
OS Ubuntu
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 15137 [details]
print screen

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
I'm trying to add a new dissector plugin to wireshark that will handle
Infiniband data. I successfully added a new plugin for Infiniband to my
wireshark, but it shows inside the default Infiniband dissector. I would like
it to be at at the same level as the default Infiniband dissector (in addition
to the original one) and not inside it.
I use this method to add my plugin:

plugname_handle = create_dissector_handle(dissect_plugname, proto_plugname);

heur_dissector_add("infiniband.payload", dissect_plugname, "PLUGNAME",
"plugname_infiniband", proto_plugname, HEURISTIC_ENABLE);


You are receiving this mail because:
  • You are watching all bug changes.