ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Help with extending RSVP dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 21 Jan 2006 17:07:44 +0100 (CET)
Hi,

There's no limitation on reuse of fields. So if there's a set of
repetative fields, some fields will be present multiple times.
The filter will pick up the field in any set matching the filter.

Thanx,
Jaap


On Fri, 20 Jan 2006, srinivas reddy wrote:

[SNIP]
> I saw in readme.developer file that each field in a
> protocol needs to be registered using an array of
> hf_register_info structures. In this case, since there
> could be more than one set of repetetive fields, how
> do I register them? Is it ok if I don't register them
> and parse the fields myself and add them to protocol
> tree using proto_tree_add_guint*().