Ethereal-dev: Re: [Ethereal-dev] Format of multi-byte integers assembled by proto_tree_add_

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

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Wed, 13 Mar 2002 07:48:59 +1030 (CST)
On Tue, 12 Mar 2002, Gilbert Ramirez wrote:

> On Tue, 2002-03-12 at 14:40, Richard Sharpe wrote:
> > Hi,
> > 
> > Do the routines proto_tree_add_item treat data in the tvb as if it is in 
> > network byte order when adding a UINT32 or UINT16, for example?
> > 
> 
> You tell it; that's why proto_tree_add_item() has the little_endian
> argument, TRUE if little-endian, FALSE if big-endian (network order).

Sigh, I was confused by other things ...

Regards
-----
Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx, 
sharpe@xxxxxxxxxxxx