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] proto_tree_add_? for adding a calculated value and bitfield

From: "Martin Peylo" <martinmeis@xxxxxxxxxxxxxx>
Date: Thu, 23 Nov 2006 13:05:28 +0100
Hi,

I'd like to fix a bug in the TIPC dissector. The header size is given
in 4-byte units. So the actual size is (4*hdr_size).

What function can I use for that if I also want to see the bitfield
like when using proto_tree_add_item()? I don't find that when looking
at the documentation.

Thanks,
Martin