Ethereal-dev: Re: [Ethereal-dev] Dissecting a host order protocol

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 23 Jun 2003 12:25:50 -0700

On Monday, June 23, 2003, at 7:11AM, Tomas Kukosa wrote:

  As I know the little_endian idicator is parameter for
proto_tree_add_item(_hidden) function and it can not be designated
during registartion of field.

Correct. In at least some protocols (X11, for example), there *is* no standard byte order, so the "proto_tree_add_item" routines need a byte order argument. There could, conceivably, be a third value for that argument, meaning "use what the field is registered as", and a byte order indicator in the field data, but nobody's implemented that.