Wireshark-dev: [Wireshark-dev] dissector_add parameter

From: Mahesh K <mks_97@xxxxxxxxxxx>
Date: Fri, 17 Jul 2009 00:35:11 +0000
Folks,

I had written a wireshark dissector to decode proprietary non-network binary data.

I have written all the records to  a pcap file (with each record preceeded by a pcap pkt header).

When writting the dissector, I wanted to know what parameters I need to provide the dissector_ function :

ldm_handle = create_dissector_handle(dissect_ldm, proto_ldm);
dissector_add(???,  ???, ldm_handle)

How will wireshark know when to invoke this dissector? Thanks,

--Mahesh






Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.