Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: "John Jamulla" <jjamulla@xxxxxxxxxxx>
Date: Sat, 24 Feb 2007 11:04:27 -0500
Hello,

I have a working dissector now, and have figured out many part of how to
display individual values, fields, strings, etc. I have some subtrees as
well, but...

I have some data in my own protocol that is really a set of 512, 2 byte bit
fields, and I want to display something like:

Generator 1   Fielda
Generator 1   Fieldb
Generator 1   Fieldc
Generator 1   Fieldd
Generator 2   Fielda
Generator 2   Fieldb
Generator 2   Fieldc
Generator 2   Fieldd
...

Where field a-d are bitfields. I know how to get the bits into a useful
value, but I have no idea really how to
display something like this?

Can someone point me in the right direction please?

Sincerely,
    John Jamulla