[Wireshark-dev] Dissecting Objects

2007-01-25 Thread David Dugoujon
Hi all, I am writing a plugin for several protocols (Tier2 architecture) that share common object types. I have to analyse these objects before I can determine their size. I would like to know what is the best method to dissect these objects. * Do I need to write another dissectors for these obj

Re: [Wireshark-dev] proto_tree_add_item problem

2007-01-23 Thread David Dugoujon
Hi Vikash, You should rather write proto_tree_add_item(proto_tree,hf_xyz_any_field, tvb, offset, 1,FALSE) because the value that you want to display is a single byte (FT_UINT8). David Bored stiff? Loosen u

[Wireshark-dev] conversation_add_proto_data

2007-01-22 Thread David Dugoujon
Dear All, I am new to wireshark and I am trying to write a dissector plugin for the freepastry binary protocol. This protocol runs on top of TCP and, for some reason, I need to keep a context for the TCP streams. Indeed, FreePastry requires a specific header to be sent over a newly established T