[Wireshark-dev] "Scaled" integer fields in a protocol, can use proto_tree_add_item??

2009-01-24 Thread John Jamulla
roto_tree_add_string_format(asicp_tree, hf_asicp_405_maddattenstring, tvb, offset, 2, maddAttenString, "%s", maddAttenString); Any help is appreciated. Thanks, John Jamulla ___

[Wireshark-dev] How do a save a Wireshark capture so Finisar Surveyor can read it?

2007-03-14 Thread John Jamulla
Which type of output can I save a capture made in Woreshark to Finisar Surveyor please? I'm trying to "port" alot of custom decodes from Surveyor (very old) to Wireshark and I want to make sure I'm doing it correctly, though I have been making recent captures of the data with Wireshark, NOT Survey

Re: [Wireshark-dev] Dissector Question - arrays of data in packets - how to display

2007-02-27 Thread John Jamulla
string_format(asicp_tree, hf_asicp_405_maddatten, tvb, offset, 2, VAL, " currentOffset += 2; /* 2 bytes for each field */ } So - the general question is I can I "reuse" the hf_asicp_405_maddatten etc. fields over and over and over in the loop without messing anything up? And if

[Wireshark-dev] Dissector Question - arrays of data in packets - how to display

2007-02-24 Thread John Jamulla
this? Can someone point me in the right direction please? Sincerely, John Jamulla ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev

Re: [Wireshark-dev] saving "User Specified Decodes"

2007-02-17 Thread John Jamulla
I have a set of UDP messages with the same problem, they can be on different UDP ports, depending on alot of factors. How do I get a dissector heuristic? Can you point me in the right direction on where to look please? - Original Message - From: "Jaap Keuter" <[EMAIL PROTECTED]> To: <[EM

[Wireshark-dev] Newbie - How to "hook into" wireshark

2007-02-13 Thread John Jamulla
Hello, I'm new to wireshark development and have read the README.developer only 1 time so far. *smile* I've finally got a development environment with MS VC++ 6 and cygwin working, and I've built wireshark and have it running from the source, I then built a "dissector" with very little/nothing