ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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