Ethereal-dev: Re: [Ethereal-dev] proto_tree_add_bytes_format vs proto_tree_add_XXX_format?

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 12 Oct 2000 17:32:07 -0700 (PDT)
> What does, say, proto_tree_add_ipv4_format do that
> proto_tree_add_bytes_format doesn't?

Note also that the "_format" routines are needed only if you want the
entry in the protocol dissection to look like something other than

	Name: value

where "Name" is a string you specify for the field and "value" is the
value displayed in the standard format for that field type - e.g., a
host name or dotted quad for an IPv4 address.