Ethereal-dev: Re: [Ethereal-dev] simple question about fields ...

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 05 Dec 2005 22:23:29 -0800
fabio matturro wrote:

How must I deal with these parameters? Had I better register them as standard protocol fields or is there a clever way to do it? What renders me a bit perplexed is that the protocol uses many opcodes and I'd have to register many fields (even if not ALWAYS ALL useful)

If you don't find a field "useful" (meaning, among other things, that you don't ever expect to filter on it), you could just add an item to the protocol tree with "proto_tree_add_text()".